MsgPlayer

This message is received by the client to spawn an entity on screen. Though the official name of the message suggests it spawns only players, it also spawns monsters on the game map. Entities must be less than or equal to 18 tiles away in both the x and y direction; otherwise, entities outside of that range will not spawn and automatically be cleaned up by the client.

In patches 5200 and above, this message is not enough to spawn equipment on the player. MsgPlayerAttribInfo must be sent afterwards to finish spawning equipment and calculate final attributes.

Table of Contents

Patch 4267

Player Message Definition

❓ Unverified

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message65
2UInt16MsgTypeType of message1014
4UInt32Hero IDUnique identifier for the entity1000000
8UInt32Look FaceMesh of the entity501002
12UInt32Status EffectStatus effect bitmap0
16UInt32Syn MaskSynID << 4 | SynRank & 0x00FFFFFF0
20UInt32GarmentGarment's item type identifier0
24UInt32ArmetHeadgear's item type identifier0
28UInt32ArmorArmor's item type identifier0
32UInt32Right HandWeapon's item type identifier0
36UInt32Left HandWeapon's item type identifier0
44UInt16XX coordinate of the entity320
46UInt16YY coordinate of the entity460
48UInt16HairHairstyle and hair color535
50ByteDirectionEntity direction0
51BytePosePlayer's current pose100
52NetStringPackerStringsGroup of length prefixed strings

NetStringPacker Fields

NameDescriptionExample
NameName of the playerPlayer
MateName of the player's spouseMate

Monster Message Definition

❓ Unverified

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message61
2UInt16MsgTypeType of message1014
4UInt32Hero IDUnique identifier for the entity400001
8UInt32Look FaceMesh of the entity102
12UInt32Status EffectStatus effect bitmap0
16UInt32Owner IDIdentifier of the pet's owner0
40UInt16LifeHitpoints of the entity12
42UInt16LevelLevel of the entity1
44UInt16XX coordinate of the entity320
46UInt16YY coordinate of the entity460
50ByteDirectionEntity direction0
51BytePosePlayer's current pose100
52NetStringPackerStringsGroup of length prefixed strings

NetStringPacker Fields

NameDescriptionExample
NameName of the monsterMonster

Patch 5103

Player Message Definition

❓ Unverified - Imported from legacy wiki

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message107
2UInt16MsgTypeType of message1014
4UInt32Look FaceMesh of the entity501002
8UInt32Hero IDUnique identifier for the entity1000000
12UInt32Syn MaskSynID << 4 | SynRank & 0x00FFFFFF0
16UInt64Status EffectStatus effect bitmap0
24UInt32GarmentGarment's item type identifier0
28UInt32ArmetHeadgear's item type identifier0
32UInt32ArmorArmor's item type identifier0
36UInt32Right HandWeapon's item type identifier0
40UInt32Left HandWeapon's item type identifier0
52UInt16HairHairstyle and hair color535
54UInt16XX coordinate of the entity320
56UInt16YY coordinate of the entity460
58ByteDirectionEntity direction0
59BytePosePlayer's current pose100
60UInt16MetempsychosisMetempsychosis level0
70UInt16Shared BPBattle power from mentor0
77UInt32Flower RankFlower ranking0
81UInt32Nobility RankNobility ranking12
85UInt16Armor ColorColor of equipped armor3
87UInt16Shield ColorColor of equipped shield4
89UInt16Armet ColorColor of equipped headgear3
91UInt32Study PointsQuiz show points6546
95NetStringPackerStringsGroup of length prefixed strings

NetStringPacker Fields

NameDescriptionExample
NameName of the playerPlayer
MateName of the player's spouseMate

Monster Message Definition

❓ Unverified

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message103
2UInt16MsgTypeType of message10014
4UInt32Look FaceMesh of the entity501002
8UInt32Hero IDUnique identifier for the entity1000000
12UInt32Owner IDIdentifier of the pet's owner0
16UInt64Status EffectStatus effect bitmap0
48UInt16LifeHitpoints of the entity12
54UInt16XX coordinate of the entity320
56UInt16YY coordinate of the entity460
58ByteDirectionEntity direction0
59BytePosePlayer's current pose100
62UInt16LevelLevel of the entity1
95NetStringPackerStringsGroup of length prefixed strings

NetStringPacker Fields

NameDescriptionExample
NameName of the monsterMonster