/loadmonster MOB_CH_MANGYANG 100
PHP Code:
[C -> S][7010]
06 00
8D 07 00 00
01
00
06 00 - is command loadmonster
8D 07 00 00 - is monster ID
01 - number of monsters
00 - Regular mob, 01 will spawn Champion
PHP Code:
if (packet.Opcode == 0x7010) {
uint Command = packet.ReadUInt16();
if (CommandID == 6) {
uint unknown = packet.ReadUInt8();
uint monsterID = packet.ReadUInt32();
Packet p = new Packet(0x7010); //packet
p.WriteUInt16(6); // command ID
p.WriteUInt32(monsterID); // monster ID
p.WriteUInt8(1); // forcing to spawn just 1 mob
p.WriteUInt8(unknown); // mob type
Agent.Send(p);
}
}