Quote:
Originally Posted by Real~Death
00 or was it 01 avitar packet:p
you know you can change your avitar in game from anyware right,any map
yeah it just isnt all that fun on the server to completlybuild a bot,imo
|
No need, he simply needs to structure the mesh change properly.
The mesh used for packets/updates is a combination of body type, face type and disguise type. Looks like he isn't logging the original mesh so that he can simply alter the disguise type. Personally I'd write it into a nice accessor system such as...
Code:
public ushort Face
{
get { return _face; }
set
{
SendClient(UpdatePacket.GenerateSingle(UpdateType.Mesh, Mesh));
_face = value;
Mesh = (uint)(Transformation * 10000000 + value * 10000 + Body);
}
}
and same thing for transformation/body.
That way you can modify them separate from each other and can just do like...
user.Transformation = 207 and boom, you're in dh and it's already updated client side.
Sorry for going off topic :P just how I'd write it personally.