OpenMU

This project aims to create an easy to use, extendable and customizable server for a MMORPG called "MU Online".

View on GitHub

C2 13 - AddNpcsToScope075 (by server)

Is sent when

One or more NPCs got into the observed scope of the player.

Causes the following actions on the client side

The client adds the NPCs to the shown map.

Structure

Index Length Data Type Value Description
0 1 Byte 0xC2 Packet type
1 2 Short   Packet header - length of the packet
3 1 Byte 0x13 Packet header - packet type identifier
4 1 Byte   NpcCount
5 NpcData.Length * NpcCount Array of NpcData   NPCs

NpcData Structure

Contains the data of an NPC.

Length: 9 Bytes

Index Length Data Type Value Description
0 2 ShortBigEndian   Id
2 1 Byte   TypeNumber
3 « 0 1 bit Boolean   IsPoisoned
3 « 1 1 bit Boolean   IsIced
3 « 2 1 bit Boolean   IsDamageBuffed
3 « 3 1 bit Boolean   IsDefenseBuffed
4 1 Byte   CurrentPositionX
5 1 Byte   CurrentPositionY
6 1 Byte   TargetPositionX
7 1 Byte   TargetPositionY
8 4 bit Byte   Rotation