Hello all,
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:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
Here is my spawn packet:
Anyone may know the problem? It only occurs with the second (or above) logged in character.
Thanks in advance,
JobvdH!
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:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
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!