GlowESP function not working
Hello guys,
me again. I'm creating an external hack for myself but I can't get the glowesp get working :/ I've updated all adresses. I'm working on it for 2hours now and can't get it fixed.
Could you please help me?
me again. I'm creating an external hack for myself but I can't get the glowesp get working :/ I've updated all adresses. I'm working on it for 2hours now and can't get it fixed.
Could you please help me?
Code:
void glowesp();
{
while (true)
{
if (GLOW_activation)
{
DWORD localplayer_dw = (Memory::ReadMemory<DWORD>(CLient + Localplayer));
DWORD gPointer = Memory::ReadMemory<DWORD>(CLient + gObject);
DWORD gObject_dw = (Memory::ReadMemory<DWORD>(localplayer_dw + gObject));
for (int i = 0; i < 64; i++)
{
int glow_Currentplayer = (Memory::ReadMemory<int>(CLient + entitylist + ((i - 1) * 16)));
bool glow_isDormant = (Memory::ReadMemory<bool>(glow_Currentplayer + isDormant));
int glow_Currentplayer_index = (Memory::ReadMemory<int>(glow_Currentplayer + gIndex));
if (glow_isDormant == 1)
{
continue;
}
else
{
Memory::WriteMemory<float>(gPointer + ((glow_Currentplayer_index * 0x34) + 0x4), 0.4f); //red
Memory::WriteMemory<float>(gPointer + ((glow_Currentplayer_index * 0x34) + 0x8), 0.4f); //green
Memory::WriteMemory<float>(gPointer + ((glow_Currentplayer_index * 0x34) + 0xC), 0.f); //blue
Memory::WriteMemory<float>(gPointer + ((glow_Currentplayer_index * 0x34) + 0x10), 1.f); //Alpha
Memory::WriteMemory<bool>(gPointer + ((glow_Currentplayer_index * 0x34) + 0x24), true);
Memory::WriteMemory<bool>(gPointer + ((glow_Currentplayer_index * 0x34) + 0x25), false);
}
}
}
}
