Credits to impulse for the packet.
Place this in Packets.cs
And
\
Creds to me for the easy npc.
And this in NPCDialog.cs
And this in NPCs.txt
Here's screenshots.
Place this in Packets.cs
Code:
public static COPacket Breeder(uint UID)
{
byte[] Packet = new byte[8 + 36];
COPacket P = new COPacket(Packet);
P.WriteInt16((ushort)(Packet.Length - 8));
P.WriteInt16((ushort)0x271a);
P.WriteInt32(UID);
P.WriteInt16((ushort)0x170);
P.Move(10);
P.WriteInt16((ushort)0x7e);
P.WriteInt16((ushort)0x0);
P.WriteInt16((ushort)0x1d);
P.WriteInt16((ushort)0x1b);
P.Move(8);
return P;
}
Code:
public static COPacket Breeding(uint UID)
{
return GeneralData(UID, 0x170, 0, 0, 0x7e);
}
Creds to me for the easy npc.
And this in NPCDialog.cs
Code:
case 9883:
{
if (Control == 0)
{
GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 0x170, 0, 0, 0x7e));
}
break;
}
Code:
9883 3200 8 67 1006 19 27