FastKnife hack please help me
I am making fast knife hack.
Is this the right code?
If you are not going to help me, please do not post. Comments like these are not wanted:
What language is that?
Learn c++ (I already know c++ of course)
or any other comments that do not help me in any way.
Is this the right code?
Code:
#include "main.h"
void FastKnife()
{
DWORD CShell = NULL;
do
{
CShell = (DWORD)GetModuleHandle("CShell.dll");
Sleep(100);
} while(CShell == NULL);
while (1)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8)) +(4*i))) + 0x4) = 100.0f;
}
Sleep(100);
}
}
extern "C" __declspec(dllexport) BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
if(fdwReason == DLL_PROCESS_ATTACH)
{
// Start Hack :P
MessageBox(NULL, "Fast Knife crossfire hack by _corn_\nMade for mpgh.net", "Injected Successfully!", MB_OK);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)FastKnife, NULL, NULL, NULL);
}
return 1;
}
What language is that?
Learn c++ (I already know c++ of course)
or any other comments that do not help me in any way.



///Find your own addys it is much easier and you will know that they are right. Search for text strings.
///And also, you will not get any source from MPGH.