Struct & Classes

Posts 1–11 of 11 · Page 1 of 1
Struct & Classes
Can anyone tell me if these are all updated.

Code:
struct UnkStruct
{
	float Pitch;
	float Yaw;
	char spacer00[0xC6];
	bool IsDead;
	char spacer01[0x1647];
	unsigned char CurrentGun;
	char spacer02[0x3];
	bool IsMutant;
};

struct Transform
{
	D3DXVECTOR3 Pos;
	char Spacer[0x100];
};

struct cObject
{
	char spacer00[0x4];
	D3DXVECTOR3 Origin;
	D3DXVECTOR3 Head;
};

struct CPlayer
{
	  char spacer00[0x8];
	cObject* Object;
	char ClientID;
	char Team;
	char Name[12];
	char spacer01[0x2];
	UnkStruct *unk;
	int PlayerSlotTeam;
	int unkstruct1;
	bool Has_C4;
	int State;
	int Rank;
	int unkstruct2;
	int unkstruct3;
	short Health;
	short Kills;
};

typedef bool(*ObjectFilterFn)(cObject* hObj, void *pUserData);

struct IntersectInfo
{
	D3DXVECTOR3 vImpactPos;		//0x0000
	char unknown12[16];
	cObject* hObjImpact;		//0x001C
	DWORD nSomething;			//0x0020
	DWORD nSomething2;			//0x0024
	DWORD nSomething3;			//0x0028
};

struct IntersectQuery
{
	D3DXVECTOR3 m_From;					//0x0000
	D3DXVECTOR3 m_To;					//0x000C
	char unknown24[12];
	unsigned int Flags;					//0x0024
	ObjectFilterFn FilterFn;			//0x0028
	void* FilterIntersectParam;			//0x002C
	ObjectFilterFn FilterIntersectFn;	//0x0030
	void* FilterParam;					//0x0034
	void* PolyFilterParam;				//0x0038
										//PolyFilterFn PolyFilterFn;		//0x003C
};

class CPlayerPos
{
public:
	char Spacer[0xDC];
	D3DXVECTOR3 Pos;
};

class CLTPlayerClient
{
public:
	char Spacer[0x350];
	CPlayerPos* pPlayerPos;
	char Spacer2[8];
	float Pitch;
	float Yaw;
};
patched

class CLTPlayerClient
{
public:
char Spacer[0x350];
CPlayerPos* pPlayerPos;
char Spacer2[8];
float Pitch;
float Yaw;
};

struct UnkStruct
{
float Pitch;
float Yaw;
char spacer00[0xC6];
bool IsDead;
char spacer01[0x1647];
unsigned char CurrentGun;
char spacer02[0x3];
bool IsMutant;
};
Quote Originally Posted by CaiozinhoFC1 View Post
patched

class CLTPlayerClient
{
public:
char Spacer[0x350];
CPlayerPos* pPlayerPos;
char Spacer2[8];
float Pitch;
float Yaw;
};

struct UnkStruct
{
float Pitch;
float Yaw;
char spacer00[0xC6];
bool IsDead;
char spacer01[0x1647];
unsigned char CurrentGun;
char spacer02[0x3];
bool IsMutant;
};
Do you have an updated Class? Please share it.
Im currently using this one for CFPH

class cLTPlayerClient
{
public:
char _UnkSpace[0x4bC];
cPlayerPos* pPlayerPos;
char _UnkSpace2[8];
float Pitch; //4C8
float Yaw; //4D0
};
Quote Originally Posted by r0dspunk View Post
Im currently using this one for CFPH

class cLTPlayerClient
{
public:
char _UnkSpace[0x4bC]; <<<<<<<
};
How do I find this offset? pass binary string pls
Quote Originally Posted by Jh0nLegend View Post
How do I find this offset? pass binary string pls
0x4C8 - C = 0x4BC

Enjoy !


- - - Updated - - -

Quote Originally Posted by r0dspunk View Post
Im currently using this one for CFPH

class cLTPlayerClient
{
public:
char _UnkSpace[0x4bC];
cPlayerPos* pPlayerPos;
char _UnkSpace2[8];
float Pitch; //4C8
float Yaw; //4D0
};
Thank you for share!
Quote Originally Posted by Jh0nLegend View Post
How do I find this offset? pass binary string pls
8D 44 24 ?? 50 8B 86 ?? ?? ?? 00 C7 44 ?? ?? ?? 00
Quote Originally Posted by CaiozinhoFC1 View Post
8D 44 24 ?? 50 8B 86 ?? ?? ?? 00 C7 44 ?? ?? ?? 00
Very Thanks....
here :
Code:
struct CPlayer
{
	char Spacer00[8];
	cObject* Object;
	char ClientID;
	char Team;
	char Name[12];
	char Spacer01[2];
	int SHIT;
	int PlayerSlotTeam;
	int unkstruct1;
	bool Has_C4;
	int State;
	int Rank;
	int unkstruct2;
	int unkstruct3;
	short Health;
	short Kills;
	__int32 Deaths;
	__int32 HeadShots;
	__int32 TeamID;
	__int32 Ping;
};
Thanks guys! A big thanks to you all.
Code:
class CPlayerPos
{
public:
	char Spacer[0xDC];   <--- ?????????
	D3DXVECTOR3 Pos;
};

class CLTPlayerClient
{
public:
	char _UnkSpace[0x4BC]; //8D 44 24 ?? 50 8B 86 ?? ?? ?? 00 C7 44 ?? ?? ?? 00 //CFPH
	CPlayerPos* pPlayerPos;
	char _UnkSpace2[8];
	float Pitch; 
	float Yaw; 
};

is this correct ?
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us