Heya guys,
I can't find the packet.cs in my newestcoserver source
i have to replace it to this
public static COPacket SpawnEntity(Game.Companion Cmp)
{
byte[] Packet = new byte[8 + 138 + Cmp.Name.Length];
COPacket P = new COPacket(Packet);
P.WriteInt16((ushort)(Packet.Length - 8));
P.WriteInt16((ushort)10014);
P.WriteInt32(Cmp.Mesh);
P.WriteInt32(Cmp.EntityID);
P.WriteInt32(0);
P.WriteInt64(0);//Status Effect
P.Move(28);
P.WriteInt16((ushort)Cmp.CurHP);
P.WriteInt16(Cmp.Level);
P.Move(2);//Hair
P.WriteInt16(Cmp.Loc.X);
P.WriteInt16(Cmp.Loc.Y);
P.WriteByte(Cmp.Direction);
P.WriteByte(100);
P.Move(72);
P.WriteByte(1);
P.WriteByte((byte)Cmp.Name.Length);
P.WriteString(Cmp.Name);
return P;
}
but i can't find the packets.cs
thanks






