Is this the packet of enemy guild? can anyone help me? how to add this in my sourve? im using 5165, and how to add this in npc.
Thanks in advance.
Code:
public static COPacket GuildData(uint Type, int Data)
{
byte[] Packet = new byte[8 + 12];
COPacket P = new COPacket(Packet);
P.WriteInt16((ushort)(Packet.Length - 8));
P.WriteInt16((ushort)1107);
P.WriteInt32(Type);
P.WriteInt32(9);
return P;
}
//uint16() 12 (Length) Index : 0
//uint16() 1107 (Type) Index : 2
//uint32() Type Index : 4
//uint32() Data Index : 8