Welcome to Multiplayer Game Hacking 2 Register Now and See or Create Hacks and post it here.!

HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 

 How to make a DLL

Go down 

Posts : 10
GameHaxor Points : 26
Thanks : 0
Join date : 2010-10-11

PostSubject: How to make a DLL   Mon Oct 11, 2010 4:19 am

My Second Stickey
Here You All Go A New Source For Your Hacks With More Features, If You Have Visual Studio Or Any Other Compiler And Dont No How To Make Them To Dll's Here You Go :

First Go On Your Compiler And Click New Project,
There Should Be A Side Bar Which Says Installed Templates,
Click Visual C++ After That Click Win32 Console Application,
After Clicking That Think Of A Hack Name For Your Hack,
Then Click Ok,

You Most Probably See A Window Like This Pop-up Click Next.

After Clicking Next You Will See This, Click Dll And Empty Project As So...Then Click Finish.

Then Go To Project (On The Menu Near File , Edit And View ..Ect) And
Click And New Item Or CTRL+shift+A , Then Click Cpp File And Name It Anything
You Want Click Ok And Copy And Paste Any Base Like This Below

#include <windows.h>
#include <iostream>

using namespace std;

void __cdecl PushToConsole(char* szVal ) {
   DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
   if( dwCShell != NULL )
      DWORD *LTClient = ( DWORD* )( (dwCShell + 0x2AAE80) );
      void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
         push szVal;
         call CONoff;
         add esp, 4;
   while(GetModuleHandleA("CShell.dll") == NULL ) {

   bool PlayerGlow = true;
   bool FogEnable = false;
   bool Nosmoke = true;
        bool Whitewalls = false;

for(;;) {
   __asm pushad;
         if(GetAsyncKeyState(VK_F2)&1) {
            PlayerGlow = !PlayerGlow;
         if(GetAsyncKeyState(VK_F3)&1)   {
            FogEnable = !FogEnable;
         if(GetAsyncKeyState(VK_F4)&1)   {
            Nosmoke = !Nosmoke;
                        if(GetAsyncKeyState(VK_F9)&1)   {
            Whitewalls = !Whitewalls;

         if (Nosmoke) {
            PushToConsole("DrawParticles 1");
         else {
                      PushToConsole("DrawParticles 0");

         if (FogEnable) {
            PushToConsole("FogEnable 1");
         else {
            PushToConsole("FogEnable 0");
         if  (PlayerGlow) {
            PushToConsole("ScreenGlowEnable 1");

         else {
            PushToConsole("ScreenGlowEnable 0");

                        if (Whitewalls) {
                                PushToConsole("DrawFlat 1");
                        else {
                                PushToConsole("DrawFlat 0");
         __asm popad;
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
   if ( dwReason == DLL_PROCESS_ATTACH )
      MessageBoxA(0, "The Creators Name Here ", "Successfully Injected", 0);
      CreateThread(NULL, NULL,Main, NULL, NULL, NULL);
   return TRUE;

Edit The The Creators Name Here, Bit To Your Name And, Bit To Your MPGH Profile Like Myn Is
MPGH - MultiPlayer Game Hacking - View Profile: [Banned]mark0108

After All Of This Click The Little Button What Looks Like A Play Button It Is Called The Debug Button,
Once Click It Will Debug And Build Your Cpp To A Dll You Will Get Messages Like This Click Yes On This One,

And On This One Click Ok,

There Should Be No Error's If Followed Correctly Your Nearly Finished
Go To Your Documents And Go To Your Compilers Projects There Should Be A Folder Called
Debugged And In there Is Your Dll Inject With Any Injector (Which Works ) And Play Have Fun Or Release Your Hack

Ow Yh Your Hotkeys For This Source Are

F2 Player Glow
F3 Fog Enable
F4 No Smoke
F9 White Walls
Back to top Go down
View user profile

Posts : 90
GameHaxor Points : 171
Thanks : 9
Join date : 2010-10-09
Location : Los Angeles, California

PostSubject: Re: How to make a DLL   Mon Oct 11, 2010 5:39 pm

Back to top Go down
View user profile
How to make a DLL
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
GameHaxor :: Programming :: C++/C-
Jump to: