Why isnt't this working?
Additional info: I waited for cshell to load(Sleep function in the dllmain). And the dllmain works cuz i hear a beep. So i dont think thats the issue. Is it the addy? I tried the one from @DaRk 's thread but that didn't work either, luizmoko(i hope i spelt that right) also made a nobugdamage hack for me but that didn't work either. I'm not posting the full source.
Code:
void Hacks()
{
bool iNoBugDamage = true;
while(true)
{
DWORD CShell = (DWORD)GetModuleHandleA("Cshell.dll");
if(iNoBugDamage)
{
*(float *)(CShell + 0x310F5C) = 0.0f;
}
}
}

