I hope one of you guys has a 5021~ reference packet / structure for me
5065 packets dont work nor do 5017/18
PHP Code:
*((ushort*)p) = (ushort)Packet.Length;
*((ushort*)(p + 2)) = (ushort)PacketType;
*((uint*)(p + 4)) = (uint)Player.UID;
*((uint*)(p + 8)) = (uint)Model;
if (Player.IsPlayer)
{
*((uint*)(p + 12)) = (uint)Player.ReturnFlags();
}
else
*((uint*)(p + 12)) = (uint)0;
*((ushort*)(p + 20)) = (ushort)Player.GuildID;
*(p + 23) = Player.GuildPosition;
if (Player.Alive)
{
*((uint*)(p + 28)) = (uint)Helmet;
*((uint*)(p + 32)) = (uint)Armor;
*((uint*)(p + 36)) = (uint)RHWEP;
*((uint*)(p + 40)) = (uint)LHWEP;
}
*((ushort*)(p + 48)) = (ushort)Player.CurHP;
*((ushort*)(p + 52)) = (ushort)Player.X;
*((ushort*)(p + 54)) = (ushort)Player.Y;
*((ushort*)(p + 56)) = (ushort)Player.Hair;
*(p + 58) = Player.Direction;
*(p + 59) = Player.Action;
*(p + 60) = 0;
*(p + 62) = Player.Level;






