I've been coding my own source and everything wen't well untill I've come to the Entity Spawn part.
Here is the problem:
Here is my spawn packet:
Code:
WriteUInt(client.Identity, 4);
WriteUInt((20 * 10000) + client.Mesh, 8);
WriteUInt(0, 12); //Status
WriteUShort(0, 14); //Guild ID
WriteUShort(0, 16); //GuildRank
WriteUInt(0, 20); //Helm ID
WriteUInt(0, 24); //Armour ID
WriteUInt(0, 28); //RightHand ID
WriteUInt(0, 32); //LeftHand ID
WriteUShort(client.PosX, 44); //CoordX
WriteUShort(client.PosY, 46); //CoordY
WriteUShort(client.HairStyle, 48); //Hairstyle
WriteByte(0, 50); //Direction
WriteByte(0, 51); //Action
WriteBoolean(true, 52); //Show Names
WriteByte((byte)client.Name.Length, 53);
WriteStringWithLength(client.Name, 54);
Thanks in advance,
JobvdH!






