[Release]Breeder Packet and NPC

02/06/2010 01:18 Arcо#1
Credits to impulse for the packet.
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;
        }
And
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;
                                }
And this in NPCs.txt
Code:
9883 3200 8 67 1006 19 27
Here's screenshots.
02/06/2010 01:24 fishey07#2
I got linkback does not exist in current context. Any help?
02/06/2010 01:25 Arcо#3
Quote:
Originally Posted by fishey07 View Post
I got linkback does not exist in current context. Any help?
Change linkback to Control.
02/06/2010 01:37 fishey07#4
Duh I should of thought about that. X.x Thanks anyways. +thanks
02/06/2010 01:47 Arcо#5
Mmk, anymore problems just lemme know.
I hope this helps.
02/06/2010 01:49 Korvacs#6
This was just released, you even posted in the thread, theres no need for you to re-release this.

Closed.
02/07/2010 11:03 Arcо#7
#edited
Needed the breeding packet as well
02/07/2010 12:14 Korvacs#8
Quote:
Originally Posted by Korvacs View Post
This was just released, you even posted in the thread, theres no need for you to re-release this.

Closed.
.