hey , i`m making an aimbot and i need to get the player x,y and uid but i cant do so this code gives me the uid and x y if i`m using any skill but not fb/ss in fb/ss it returns the uid 0 here`s the code :
so, can anyone tell me how to do it ?
Code:
ushort SpellID = 0, X = 0, Y = 0;
uint Target = 0;
#region GetSkillID
SpellID = Convert.ToUInt16(((long)Packet[24 +4] & 0xFF) | (((long)Packet[25 + 4] & 0xFF) << 8));
SpellID ^= (ushort)0x915d;
SpellID ^= (ushort)role.UID;
SpellID = (ushort)(SpellID << 0x3 | SpellID >> 0xd);
SpellID -= 0xeb42;
if (SpellID == role.AimbotSkillToReplace)
{
#endregion
#region GetCoords
X = (ushort)((Packet[16+4] & 0xFF) | ((Packet[17+4] & 0xFF) << 8));
X = (ushort)(X ^ (uint)(role.UID & 0xffff) ^ 0x2ed6);
X = (ushort)(((X << 1) | ((X & 0x8000) >> 15)) & 0xffff);
X = (ushort)((X | 0xffff0000) - 0xffff22ee);
Y = (ushort)((Packet[18+4] & 0xFF) | ((Packet[19+4] & 0xFF) << 8));
Y = (ushort)(Y ^ (uint)(role.UID & 0xffff) ^ 0xb99b);
Y = (ushort)(((Y << 5) | ((Y & 0xF800) >> 11)) & 0xffff);
Y = (ushort)((Y | 0xffff0000) - 0xffff8922);
#endregion
#region GetTarget
Target = ((uint)Packet[12 + 4] & 0xFF) | (((uint)Packet[13 + 4] & 0xFF) << 8) | (((uint)Packet[14 + 4] & 0xFF) << 16) | (((uint)Packet[15 + 4] & 0xFF) << 24);
Target = ((((Target & 0xffffe000) >> 13) | ((Target & 0x1fff) << 19)) ^ 0x5F2D2463 ^ role.UID) - 0x746F4AE6;
#endregion