Making a [.dll] hack need some help
i can't find any tutorials, i have all the offsets and values but don't know how to use them to create a .dll file for injection
anyone help?
anyone help?
bool NoclipEnabled = true;
DWORD MainThread(LPVOID Args){//this is the thread
while(true){//loop that you use hot keys inside of
if(GetAsyncKeyState(VK_F1) & 1){
NoclipEnabled = !NoclipEnabled;
if(NoclipEnabled == true)
*(byte*)Noclip = 2;//2 is noclip on in mw3
else
*(byte*)Noclip = 0;//0 is off
}
}
return 1;
}
BOOL WINAPI DllMain(HMODULE hMod, DWORD dwReason, LPVOID lpReserved){
if(dwReason == DLL_PROCESS_ATTACH){
CreateThread(0,0,(LPTHREAD_START_ROUTINE)MainThread,0,0,0);
/*You mite see people using NULL insted of 0 doesent matter 0 is the definition of NULL
what that does is make a thread inside the process you injected to*/
}
return true;
}