So lets cut to the chase, I saw someone ask on the forums here "what is an injector?" and "what does an injector do?"
Well I found this neat tutorial on how to make a DLL in C++ and it explains why in the first few sentences! Check it out below!
@Originally Posted By Hyphen
Code:
[Tut]C++ DLL Hacks
C++ DLL’s
Why do we use them? Simple DLL’s are sometimes more effective than simple trainers because your code becomes a part of the process you are injecting it into, which at the very least is a simple and convenient way to bypass GameGuard hooking WriteProcessMemory() and related WINAPI’s.
Anyways, here’s the basic template for working injectable C++ DLL hacks.
Code:
//insert comment here
#include <windows.h>
//declare pointers/variables here
int * Health = (int*)0x12345678
int * Ammo =(Health+4)
//main function
DWORD WINAPI lolthread(LPVOID lParam)
{
//your statements, loops, etc here!
While(1)
{
*Health = 99999;
*Ammo = 250;
Sleep(5);
}
ExitThread(0);
}
BOOL APIENTRY DllMain(HINSTANCE hDll, DWORD callReason, LPVOID lpReserved)
{
if(callReason == DLL_PROCESS_ATTACH)
{
//edit your message box here (or create more) by changing what is in the quotation marks
MessageBox(0, "My New Hack ", "Injected", MB_ICONEXCLAMATION | MB_OK);
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&lolthread, 0, 0, 0);
}
return 1;
}
That’s it pretty much. Edit the pointers, the contents of the main function (“DWORD WINAPI lolthread(LPVOID lParam)”), and the message box, and your new DLL hack should work. I suggest starting with minesweeper. Get the address of “time” for your version by scanning with Cheat Engine and set it to 0.
Good luck and have fun!
Hope this information was helpful! And be sure to thank me if I helped!
Yeah we have all read the thing from the other site...
Please don't mention their site.
But nice post
Well...no out side links alowed lol
good thread ^^ and yup tyler/ sal r right
Well I was just trying not to leech. But if you want me to get rid of site name and link I can?
Just post their stuff in a code and give credits to maker!
Just copy the tutorial and give credit to the user that wrote it. Also this is in the wrong section and really belongs in the C++ section. I'm just gonna move it to the CF general section and edit out your link.