Page 4 of 12 FirstFirst ... 23456 ... LastLast
Results 46 to 60 of 173
  1. #46
    draku1's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    1
    My Mood
    Inspired
    Quote Originally Posted by flameswor10 View Post
    1. Open Microsoft Visual Studio, or Visual C++ Express:
    2. Go to File > New > Project.
    3. Select 'Win32 Project' as your project type.
    4. In the next dialog, go to setting and check 'DLL', and 'Empty Project'.
    5. Write your code.
    6. Go to Build > Build Solution.

    Code:
    //includes all nessecary files to this source
    #include <windows.h>
    //End of includes
    //This is what you call globals.
    int HackOn = 0;
    //Define HackOn as a number, and that numebr is zero.
    int HackMax = 10;
    //Define HackMax as a number, and that number is ten.
    bool test = false;
    //Define test as a true/false. "Boolean"
    #define ADDR_SBULLLETS			0x374BBF16 
    //The definition of ADDR_SBULLETS
    //End of Globals
    void Main (void)
    {
    	while(1)
    		//Makes an infinite loop. One that doesn't end.
    	{
    		if(GetAsyncKeyState(VK_NUMPAD1)&1)
    			//When Numpad1 Gets Pressed
    		{
    			test = (!test);
    			//if test = false, turn to true and vice versa
    		}
    		if(GetAsyncKeyState(VK_NUMPAD2)&1)
    			//When Numpad2 Gets Pressed.
    		{
    			HackOn ++;
    			//Adds +1 to the variable, "HackOn"
    			if(HackOn == HackMax) HackOn = 0;
    			//When Hackon Reaches the number HackMax, it resets HackOn to 0
    		}
    		if(test)
    			//if test is true
    		{
    			memcpy( (PBYTE)ADDR_SBULLLETS, (PBYTE)"\x33\xC0\x90", 3 );
    			//look in globals for the definition of ADDR_SBULLETS
    			//Basically, it edits the bytes of the memory to "\x33\xC0\x90".
    			//The number at the end, tells you how many bytes you are editing.
    			//The first part, ADDR_SBULLETS Shows the code which part of the memory we are editing.
    		}else{
    			//if test is not true
    			memcpy(  (PBYTE)ADDR_SBULLLETS, (PBYTE)"\x0F\x94\xC0", 3 );
    			//look in globals for the definition of ADDR_SBULLETS
    			//Basically, it edits the bytes of the memory to "\x0F\x94\xC0".
    			//The number at the end, tells you how many bytes you are editing.
    			//The first part, ADDR_SBULLETS Shows the code which part of the memory we are editing.
    		}
    	}
    }
    DWORD WINAPI Lesson (LPVOID)
    // This is just a dummy function that will be the code activate the main thread
    {	
    	Main();
    	//Call the thread called Main
    	return 1;
    	//Finish of the thread.
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    // DllMain is an optional function for you to declare.
    // It serves as the entry point for any DLL
    {
    	DisableThreadLibraryCalls(hDll);
    	// Make a call to DisableThreadLibraryCalls with the hModule variable
    	// as its argument; Doing this is an optimization trick to prevent
    	// needless thread attach/detach messages from triggering further calls
    	// to our DllMain function.
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		//When this dll is injected into the process. this is what the dll is supposed to do.
    		// Null, in C Plus Plus, nothing. It is defined as 0
    		CreateThread(NULL, NULL, Lesson, NULL, NULL, NULL);
    		//It creates the thread called "Lesson" which is defined a few lines up. DWORD WINAPI Lesson (LPVOID)
    	}
    return TRUE;
    // Although the return value doesn't actually matter. You return the value TRUE or FALSE indicatinng success or failure.
    
    }
    Have fun nubs.
    The Super Bullets Addy is updated + correct

    I wrote this tutorial for a friend of mine, but i decided to share it.
    I commented on each line, and each bit to make it easier to understand what each and everything is doing.

    Request Sticky?
    just curious why you coded superbullets as sbulllets with 3 L's

  2. #47
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Quote Originally Posted by draku1 View Post
    just curious why you coded superbullets as sbulllets with 3 L's

    Ask my keyboard
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  3. The Following User Says Thank You to flameswor10 For This Useful Post:

    FUKO (04-30-2011)

  4. #48
    Xmagz's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Unknown Location
    Posts
    80
    Reputation
    10
    Thanks
    14
    My Mood
    Inspired
    Nice share.. Had error but managed to Fix em now
    #'When you feel like giving up is when your close to your breakthrough'#!
    Contact Me!

    Code:
    2015 AND AM BACK WITH MORE FORCE!!

  5. #49
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Quote Originally Posted by Xmagz View Post
    Nice share.. Had error but managed to Fix em now
    There should be no errors
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  6. #50
    “I fear the day technology will surpass our human interaction. The world will have a generation of idiots.” ~Albert Einstein
    MPGH Member
    SteamAss's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    Crossfire
    Posts
    2,278
    Reputation
    28
    Thanks
    754
    My Mood
    Asleep
    @NOOB where do you get the Addresses for the hacks? and how do I make it work now? casue its patched right?



    If you need my Help:
    PM/VM

    Because The People Who Are Crazy Enough To Think They Can Change The World, Are The Ones Who Do. ~Steve Jobs

  7. #51
    traiphoenix's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    91
    Reputation
    10
    Thanks
    4
    how do u make hack look so heart not easy thought

    do you have any video how to make hack man so heart make 1 hmmm
    Last edited by traiphoenix; 05-13-2011 at 05:16 PM.

  8. #52
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Honestly the way you do, "Is hack on or off" is kinda more complicated than it needs to be. Now i haven't coded in awhile so this could be wrong/detected. I also edited this via Notepad LOL so there could be syntax errors.
    Credits:
    FLAMESWOR10 !!!!!!!!!!!!!!!!!!!

    Updated:
    - Updated the Superbullets Address thread.
    - Easier way to declare if a key is pressed.
    - Warning: This way may be detected.


    Code:
    //includes all nessecary files to this source
    #include <windows.h>
    //End of includes
    //This is what you call globals.
    bool test = false;
    bool test2 = false
    //Define test as a true/false. "Boolean"
    #define ADDR_SBULLLETS			0x373D5D26 
    //The definition of ADDR_SBULLETS
    //End of Globals
    
    void Main (void)
    {
    	while(1)
    		//Makes an infinite loop. One that doesn't end.
    	{
    		
    if(GetAsyncKeyState(VK_NUMPAD1)&1)
    			//When Numpad1 Gets Pressed
    		{
    			test = (!test);
    			//if test = false, turn to true and vice versa
    		}
    		
    if(GetAsyncKeyState(VK_NUMPAD2)&1)
    			//When Numpad2 Gets Pressed.
    		{
    			test = (!test);
    			
    		}
    
    		
    if(test)
    			//if test is true
    		{
    			memcpy( (PBYTE)ADDR_SBULLLETS, (PBYTE)"\x33\xC0\x90", 3 );
    			//look in globals for the definition of ADDR_SBULLETS
    			//Basically, it edits the bytes of the memory to "\x33\xC0\x90".
    			//The number at the end, tells you how many bytes you are editing.
    			//The first part, ADDR_SBULLETS Shows the code which part of the memory we are editing.
    		}else{
    			//if test is not true
    			memcpy(  (PBYTE)ADDR_SBULLLETS, (PBYTE)"\x0F\x94\xC0", 3 );
    			//look in globals for the definition of ADDR_SBULLETS
    			//Basically, it edits the bytes of the memory to "\x0F\x94\xC0".
    			//The number at the end, tells you how many bytes you are editing.
    			//The first part, ADDR_SBULLETS Shows the code which part of the memory we are editing.
    		}
    	}
    }
    
    
    if(test2)
    	{
    // Put another Address Hack Or PTC here!
    
    }
    	
    
    DWORD WINAPI Lesson (LPVOID)
    // This is just a dummy function that will be the code activate the main thread
    {	
    	Main();
    	//Call the thread called Main
    	return 1;
    	//Finish of the thread.
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    // DllMain is an optional function for you to declare.
    // It serves as the entry point for any DLL
    {
    	DisableThreadLibraryCalls(hDll);
    	// Make a call to DisableThreadLibraryCalls with the hModule variable
    	// as its argument; Doing this is an optimization trick to prevent
    	// needless thread attach/detach messages from triggering further calls
    	// to our DllMain function.
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		//When this dll is injected into the process. this is what the dll is supposed to do.
    		// Null, in C Plus Plus, nothing. It is defined as 0
    		CreateThread(NULL, NULL, Lesson, NULL, NULL, NULL);
    		//It creates the thread called "Lesson" which is defined a few lines up. DWORD WINAPI Lesson (LPVOID)
    	}
    return TRUE;
    // Although the return value doesn't actually matter. You return the value TRUE or FALSE indicatinng success or failure.
    
    }
    Last edited by NOOBJr; 05-13-2011 at 06:03 PM.

  9. #53
    traiphoenix's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Posts
    91
    Reputation
    10
    Thanks
    4
    can u guy post video that teach us how to make hack so heart to make 1 this day

  10. #54
    Tonysred's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    4

    Smile Help

    Im getting these errors:

    Error 2 error LNK1120: 1 unresolved externals C:\Users\Alan Jr\Documents\Visual Studio 2010\Projects\Ca hack\Debug\Ca hack.dll Ca hack

    Error 1 error LNK2001: unresolved external symbol __DllMainCRTStartup@12 C:\Users\Alan Jr\Documents\Visual Studio 2010\Projects\Ca hack\Ca hack\LINK Ca hack


    Please help Im just seeing if i can make one

  11. #55
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Quote Originally Posted by traiphoenix View Post
    can u guy post video that teach us how to make hack so heart to make 1 this day
    No video?
    And wut is a heart :/
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  12. The Following User Says Thank You to flameswor10 For This Useful Post:

    Cryptonic (02-26-2013)

  13. #56
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Quote Originally Posted by traiphoenix View Post
    can u guy post video that teach us how to make hack so heart to make 1 this day
    Life is hard, use common sence and Google exactly what you need, or youtube it. Life isn't going to be handed to you.

  14. #57
    -DiamondZ-'s Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    My Home... DUH
    Posts
    79
    Reputation
    2
    Thanks
    10
    My Mood
    Bored
    WoW not detailed enough... Add some links to The ENGLISH c++ download

  15. #58
    wicho_koz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    194
    Reputation
    12
    Thanks
    52
    My Mood
    Shocked
    nice tut man... and i dont need it
    |^^^^^^^^^^\||____
    |The[MPGH]Truck |||'""|""\__,_
    | _____ 4ever __ l||__|__|___|)
    |(@)@)"""""""**|(@)(@)**|(@)


  16. #59
    Chuck Norris's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    Between my ears
    Posts
    1,704
    Reputation
    86
    Thanks
    456
    My Mood
    Angelic
    Don't listen to what they say... Its a fine tutorial! You explain it well!

    Also, shouldn't you add a GameStatus check and check if cshell, clientfx and d3d9.dll are not 0.. This prevents crashing... (d3d9.dll not needed though)..
    “Those who control the past, control the future: who controls the present controls the past” ~ George Orwell

    Its me, Dreamgun

  17. #60
    wicho_koz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    194
    Reputation
    12
    Thanks
    52
    My Mood
    Shocked
    how to use "switch" function??

    help plz :P

    @flameswor10
    @CoderNever
    |^^^^^^^^^^\||____
    |The[MPGH]Truck |||'""|""\__,_
    | _____ 4ever __ l||__|__|___|)
    |(@)@)"""""""**|(@)(@)**|(@)


Page 4 of 12 FirstFirst ... 23456 ... LastLast