ESP not working

Posts 1–6 of 6 · Page 1 of 1
ESP not working
help me please, i dont understand why he not working
Code:
DWORD Client;

DWORD_PTR dw_EntityList = 0x4A56D04;
DWORD_PTR dw_LocalPlayer = 0xA3943C;
DWORD_PTR dw_GlowObject = 0x4F6C8E4;


DWORD LocalPlayer;
DWORD EntityPlayer;
DWORD GlowObject;
int LocalTeam;
int EntityTeam;
int ClassID;
int GlowIndex;
bool isDormant;

int one;
int two;
int three;
int four;

void RISEBoss(int Index)
{
	ReadProcessMemory(Process, (LPVOID)(Client + dw_EntityList + (Index * 0x10)), &EntityPlayer, sizeof(DWORD), NULL);
	ReadProcessMemory(Process, (LPVOID)(Client + dw_LocalPlayer), &LocalPlayer, sizeof(DWORD), NULL);
	ReadProcessMemory(Process, (LPVOID)(Client + dw_GlowObject), &GlowObject, sizeof(DWORD), NULL);
	ReadProcessMemory(Process, (LPVOID)(LocalPlayer + 0xF0), &LocalTeam, sizeof(int), NULL);
	ReadProcessMemory(Process, (LPVOID)(EntityPlayer + 0xF0), &EntityTeam, sizeof(int), NULL);
	ReadProcessMemory(Process, (LPVOID)(EntityPlayer + 0xA310), &GlowIndex, sizeof(int), NULL);
	ReadProcessMemory(Process, (LPVOID)(EntityPlayer + 0xE9), &isDormant, sizeof(bool), NULL);
	ReadProcessMemory(Process, (LPVOID)(EntityPlayer + 0x8), &one, sizeof(DWORD), NULL);
	ReadProcessMemory(Process, (LPVOID)(one + 2 * 0x4), &two, sizeof(DWORD), NULL);
	ReadProcessMemory(Process, (LPVOID)(two + 0x1), &three, sizeof(DWORD), NULL);
	ReadProcessMemory(Process, (LPVOID)(three + 8), &four, sizeof(DWORD), NULL);
	ReadProcessMemory(Process, (LPVOID)(three + 20), &ClassID, sizeof(DWORD), NULL);
}
#pragma endregion


template <class cData>
void WPM_Protect(DWORD Address, cData Coding)
{
	DWORD old;
	VirtualProtectEx(Process, (LPVOID)Address, sizeof(cData), PAGE_EXECUTE_READWRITE, &old);
	WriteProcessMemory(Process, (LPVOID)Address, &Coding, sizeof(cData), NULL);
	VirtualProtectEx(Process, (LPVOID)Address, sizeof(cData), old, NULL);
}


void Set()
{
	WPM_Protect<float>((GlowObject + ((GlowIndex * 0x38) + 0x4)), 184);
	WPM_Protect<float>((GlowObject + ((GlowIndex * 0x38) + 0x8)), 0);
	WPM_Protect<float>((GlowObject + ((GlowIndex * 0x38) + 0xC)), 0);
	WPM_Protect<float>((GlowObject + ((GlowIndex * 0x38) + 0x40)), 0.4f);
	WPM_Protect<bool>((GlowObject + ((GlowIndex * 0x38) + 0x24)), true);
	WPM_Protect<bool>((GlowObject + ((GlowIndex * 0x38) + 0x25)), false);
}

void ESP()
{
	for (int i = 0; i <= 64; i++)
	{
		RISEBoss(i);

		if (LocalPlayer == NULL)
			continue;
		if (EntityPlayer == NULL)
			continue;
		if (isDormant == NULL)
			continue;
		if (LocalTeam == NULL)
			continue;
		if (ClassID == 35)
		{
			Set();
		}
		else
			break;


	}
	Sleep(1);
}
Code:
void ESP()
{
	for (int i = 0; i <= 64; i++)
	{
		RISEBoss(i);
		if (EntityPlayer == 0)
			continue;
		if (isDormant)
			continue;
		
		
if(!isDormant)
{
switch(ClassID)
{
case 35:
{
Set();
}
case default:
break;	
}
			


	
	Sleep(1);
}
Try this ?
i tryed, not working
May i ask what the WPM_Protect function is for? ReadProcessMemory/WriteProcessMemory VirtualProtect's for you.

Also, i haven't done a lot of csgo lately but i think this is wrong:

Code:
if (isDormant == NULL)
	continue;
Check if isDormant is true rather and then continue.
Been over a week since last update/bump, assuming solved.

/Closed.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us