ESP Classes

Posts 1–15 of 21 · Page 1 of 2
ESP Classes
Could someone post the updated classes for ESP?
I've been trying to make it but it won't work at all.

Also, when I try to get my name, it returns me the following:

lientShell::InitGame()

The code:

Code:
char GetMyIndex() {
	DWORD pLTClientShell = *(DWORD*)ClientShell;
	if (!pLTClientShell) return -1;

	BYTE clients = *(BYTE*) (pLTClientShell + PlayerStart);

	if (clients < 16)
		return *(char*) (pLTClientShell + clients * PlayerSize + MeOffset);
	return -1;
}
The offsets(CFAL)

Code:
#define ClientShell 0x112c9e8
#define MeOffset 0x1ec
#define PlayerSize 0xd78
#define PlayerStart 0x1e0
Quote Originally Posted by vaisefud3 View Post
Could someone post the updated classes for ESP?
I've been trying to make it but it won't work at all.

Also, when I try to get my name, it returns me the following:

lientShell::InitGame()

The code:

Code:
char GetMyIndex() {
	DWORD pLTClientShell = *(DWORD*)ClientShell;
	if (!pLTClientShell) return -1;

	BYTE clients = *(BYTE*) (pLTClientShell + PlayerStart);

	if (clients < 16)
		return *(char*) (pLTClientShell + clients * PlayerSize + MeOffset);
	return -1;
}
The offsets(CFAL)

Code:
#define ClientShell 0x112c9e8
#define MeOffset 0x1ec
#define PlayerSize 0xd78
#define PlayerStart 0x1e0
Code:
#define GetPlayerByIndex(LTClientShell, dwID) (CPlayer*)(LTClientShell + (dwID * dwCPlayerSize) + dwCPlayerStart)

char GetMyIndex(DWORD pLTCLientShell)
{
	if (pLTCLientShell)
	{
		BYTE clients = *(BYTE*)(pLTCLientShell + dwCPlayerStart);
		if (clients < 16)
			return *(char*)(pLTCLientShell + clients * dwCPlayerSize + MEOffset);
	}
	return -1;
}

struct cObject
{
public:
	char Spacer[4];
	D3DXVECTOR3 Body;
	D3DXVECTOR3 Foot;
	D3DXVECTOR3 Head;
	D3DXVECTOR3 Origin;
};

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

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;
};


void EspFunction(LPDIRECT3DDEVICE9 pDevice)
{
	DWORD CShell = (DWORD)GetModuleHandleA(eCShell);
	DWORD ClientFX = (DWORD)GetModuleHandleA(eClient);
	if (CShell != NULL && ClientFX != NULL)
	{
		DWORD pLTClientShell = *(DWORD*)(CShell + dw_pLTClientShell);
		CPlayer* LocalPlayer = GetPlayerByIndex(pLTClientShell, GetMyIndex(pLTClientShell));
		if (LocalPlayer == NULL || strlen(LocalPlayer->Name) < 2 || LocalPlayer->Object == NULL) return;
		
		for (int i = 0; i < 16; i++)
		{
			CPlayer* TargetPlayer = GetPlayerByIndex(pLTClientShell, i);
			if (strlen(TargetPlayer->Name) > 2 && TargetPlayer->Team != LocalPlayer->Team){
				//YOUR ESP HACKS HERE
			}			
		}
	}
}
Quote Originally Posted by jayjay153 View Post
Code:
#define GetPlayerByIndex(LTClientShell, dwID) (CPlayer*)(LTClientShell + (dwID * dwCPlayerSize) + dwCPlayerStart)

char GetMyIndex(DWORD pLTCLientShell)
{
	if (pLTCLientShell)
	{
		BYTE clients = *(BYTE*)(pLTCLientShell + dwCPlayerStart);
		if (clients < 16)
			return *(char*)(pLTCLientShell + clients * dwCPlayerSize + MEOffset);
	}
	return -1;
}

struct cObject
{
public:
	char Spacer[4];
	D3DXVECTOR3 Body;
	D3DXVECTOR3 Foot;
	D3DXVECTOR3 Head;
	D3DXVECTOR3 Origin;
};

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

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;
};


void EspFunction(LPDIRECT3DDEVICE9 pDevice)
{
	DWORD CShell = (DWORD)GetModuleHandleA(eCShell);
	DWORD ClientFX = (DWORD)GetModuleHandleA(eClient);
	if (CShell != NULL && ClientFX != NULL)
	{
		DWORD pLTClientShell = *(DWORD*)(CShell + dw_pLTClientShell);
		CPlayer* LocalPlayer = GetPlayerByIndex(pLTClientShell, GetMyIndex(pLTClientShell));
		if (LocalPlayer == NULL || strlen(LocalPlayer->Name) < 2 || LocalPlayer->Object == NULL) return;
		
		for (int i = 0; i < 16; i++)
		{
			CPlayer* TargetPlayer = GetPlayerByIndex(pLTClientShell, i);
			if (strlen(TargetPlayer->Name) > 2 && TargetPlayer->Team != LocalPlayer->Team){
				//YOUR ESP HACKS HERE
			}			
		}
	}
}
Ur the best man! Gonna try and bring results!

- - - Updated - - -

Output:
Code:
lientShell::InitGame()


espawn
d_socialmotion_selfcam
Player Válido
Pegou tbody

CCUPATION_EXIT_STANDBY_STATE
Player Válido
Pegou tbody
WESLEYLONGBILL_BREAKUP_SETTINGC4_START_ACK
Player Válido
Code:

Code:
cPlayer* LocalPlayer = GetPlayerByIndex(*(DWORD*)ClientShell, GetMyIndex(*(DWORD*)ClientShell));
	Log(LocalPlayer->Name, NULL);

	if (LocalPlayer == NULL || strlen(LocalPlayer->Name) < 2 || LocalPlayer->Object == NULL) return;

	for(int i = 0; i < 16; i++) {
		cPlayer* TargetPlayer = GetPlayerByIndex(*(DWORD*)ClientShell, i);
		Log(TargetPlayer->Name, NULL);
		if(!isValidClient(TargetPlayer) || LocalPlayer == TargetPlayer) continue;
		Log("Player Válido", NULL);
		
		D3DXVECTOR3 tBody = TargetPlayer->Object->Body;
		Log("Pegou tbody", NULL);
Quote Originally Posted by vaisefud3 View Post
Ur the best man! Gonna try and bring results!

- - - Updated - - -

Output:
Code:
lientShell::InitGame()


espawn
d_socialmotion_selfcam
Player Válido
Pegou tbody

CCUPATION_EXIT_STANDBY_STATE
Player Válido
Pegou tbody
WESLEYLONGBILL_BREAKUP_SETTINGC4_START_ACK
Player Válido
Code:

Code:
cPlayer* LocalPlayer = GetPlayerByIndex(*(DWORD*)ClientShell, GetMyIndex(*(DWORD*)ClientShell));
	Log(LocalPlayer->Name, NULL);

	if (LocalPlayer == NULL || strlen(LocalPlayer->Name) < 2 || LocalPlayer->Object == NULL) return;

	for(int i = 0; i < 16; i++) {
		cPlayer* TargetPlayer = GetPlayerByIndex(*(DWORD*)ClientShell, i);
		Log(TargetPlayer->Name, NULL);
		if(!isValidClient(TargetPlayer) || LocalPlayer == TargetPlayer) continue;
		Log("Player Válido", NULL);
		
		D3DXVECTOR3 tBody = TargetPlayer->Object->Body;
		Log("Pegou tbody", NULL);
Can anyone tell me what's wrong? Please?
What exactly is your problem ?
Quote Originally Posted by jayjay153 View Post
What exactly is your problem ?
Look at the code, I'm trying to retrieve Me->Name and it get's me lientShell::InitGame() and other weird stuff
I think you should place this
Log(LocalPlayer->Name, NULL);
After the localplayer validation
Quote Originally Posted by jayjay153 View Post
I think you should place this
Log(LocalPlayer->Name, NULL);
After the localplayer validation
Gonna try it later and bring results.
Quote Originally Posted by vaisefud3 View Post
Gonna try it later and bring results.

Do you have a working loader. ? Can you help about this ?
Quote Originally Posted by jayjay153 View Post
Do you have a working loader. ? Can you help about this ?
Sorry man, but I don't have an injector right now. BTW, it still returns lientShell::InitGame()
Quote Originally Posted by vaisefud3 View Post
Sorry man, but I don't have an injector right now. BTW, it still returns lientShell::InitGame()
do you have AOB or Pattern for less recoil in playerclient ? @vaisefud3
Quote Originally Posted by jayjay153 View Post
do you have AOB or Pattern for less recoil in playerclient ? @vaisefud3
When I get home you help me fix ESP and i'll give you the pattern
Can you help me too, mine is not drawing, before the update of the crossfire was giving ban
Quote Originally Posted by MasterFuhrer View Post
Can you help me too, mine is not drawing, before the update of the crossfire was giving ban
Did you hook EndScene || PresentEngine || DIP?
Posts 1–15 of 21 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us