GlowESP Help
Having some trouble with my Glow ESP.
It will compile correctly but then it'll just crash whenever I open the application.
My GlowESP function:
Debugging tells me that the program exited with the error 0x0..
If any more code is required then let me know.
It will compile correctly but then it'll just crash whenever I open the application.
My GlowESP function:
Code:
void GlowESP()
{
cout << "Glow Hack Started" << endl;
DWORD LocalPlayer = Read <DWORD>(clientDLL + dwlocalplayer);
int LocalTeam = Read <int>(LocalPlayer + intteamnum);
glowpointer = Read<DWORD>(clientDLL + GlowObject);
int glowobjectcount = Read<int>(clientDLL + GlowObject + 0x4);
for (int g = 0; g < glowobjectcount; g++)
{
DWORD currentplayer = Read<DWORD>(clientDLL + dwentitylist + ((g - 1) * 16));
bool currentplayerdormant = Read<bool>(currentplayer + dormantoffset);
if (currentplayerdormant)
continue;
int classid = GetClassID(currentplayer);
int currentplayerglowindex = Read<int>(currentplayer + glowindexoffset);
if (classid == 35)
{
byte currentplayerlifestate = Read<byte>(currentplayer + m_lifestate);
if (currentplayerlifestate != 0)
continue;
int currentplayerteam = Read<int>(currentplayer + intteamnum);
int LocalTeam = Read <int>(LocalPlayer + intteamnum);
if (g == 30)
Sleep(1);
}
Sleep(1);
}
}
If any more code is required then let me know.