Stop this fight, here's a tutorial how to struct and to update:
First of all, only the pos xyz is updated in this example
1. Struct the offset x,y,z and the player base:
Code:
struct CPlayer
{
CHAR skipthisbyte00[0x10300]; //0x00
FLOAT PosX; //0x10300
CHAR skipthisbyte01[0x4]; //0x10304
FLOAT PosY;//0x10308
CHAR skipthisbyte02[0x4]; //0x1030C
FLOAT PosZ;//0x10310
};
struct CPlayerBase
{
CPlayer* p_Local;
CHAR skipthisbyte00[0xsomething];
CPlayer** p_Global;
}*p_Player = (CPlayerBase*)Player Pointer;
2. How to update:
The position: Just update the pos X and it will inherit/update the rest
The Cplayerbase formula:
Code:
Remote pointer - Player Pointer = SkipByte
3. How to use:
Code:
if ( p_Player->p_Local )
{
for (int MaxPlayer = 0; MaxPlayer < 32; MaxPlayer++)
{
p_Player->p_Global[MaxPlayer]->PosX = 0;
p_Player->p_Global[MaxPlayer]->PosY = 0;
p_Player->p_Global[MaxPlayer]->PosZ = 0;
}
}
The only thing I don't have is the remote pointer but I will try to figure the "formula"
Now, this is on public