After reading alot of the post here and getting alot of questions about how to make a dll hack I decided to make a tutorial on it.
Things needed
1. Visuial C++ 6.0 (pm me if you need this)
2. Addie finder ( Nearons should work for you)
3. SDK Summer 2004 Download here [Only registered and activated users can see links. ]
4. Injector (Any hack you have downloaded comes with one.)
Step 1
Open Visual C++
Press File-->New Select Win32 Dynamic-Link Library and enter a project Name
Select An Empty DLL Project
Press File-->New Select C++ Source File Give it a name
//Any other hacks you decide to add go above here
//Hack are put into the game here
void snip()
{
for(;; )
{
if(*ingame) //check if we are ingame.. prevent crashs
{
Fastall();
speed(); // player hacks go here
speedoff();
scope();
}
if(*outgame)
{
Spread();
nowait(); //server hacks go here
}
Sleep(200); //prevent for overloading the cpu
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "YOUR NAME HERE", "Credits", MB_OK); // Put your
//name where Your Name Here is but leave the ""
MessageBoxA(NULL, "Sniper8ce's Base Code", "Credits", MB_OK); // Do not
// edit this
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)snip, 0, 0, 0); //create
// the hackthread
}
return TRUE;
}
Stop Copy Above Here!!!!!!!!!!!!
Now you can goto Build-->Compile "?.cpp"
If no errors then Build-->Build "?.dll"
Then goto your project folder and click the debug folder. In there you should fine the DLL file. Copy and Paste it in the same folder as your injector. Make sure they have the same name.
Exp- test.exe(injector) test.dll(DLL File)
Look over the hacks and build off of them this will get you started but its a very simple hack. I will check this post every day and try to get back to your questions ASAP.
Remember if you use my base code then you can atleast do 2 things for me.
1. Give me Credit
2. Press the Thanks Button
Have fun with this and keep in touch with any updates to the hack you have added. Im interested to see how far you can get with it.
Last edited by kvdirect; 08-13-2009 at 11:30 AM.
Reason: Adding links