Making a [.dll] hack need some help

Posts 1–2 of 2 · Page 1 of 1
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?
Quote Originally Posted by Luckky123 View Post
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?
I could link hundreds...
basics:
Code:
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;
}
sorry for spelling or errors i written this inside of chrome :|


EDIT: allso look at this C: http://www.mpgh.net/forum/showthread.php?t=1087349
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?