Page 1 of 12 12311 ... LastLast
Results 1 to 15 of 173
  1. #1
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love

    How to make a Simple Hack

    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?
    Last edited by flameswor10; 04-18-2011 at 07:33 PM.
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  2. The Following 65 Users Say Thank You to flameswor10 For This Useful Post:

    .ThePro (10-08-2011),Angel025 (09-04-2011),bluesky23614 (04-18-2011),BoxHead1080 (12-26-2011),BustaRap (04-25-2011),cacacaca110 (09-07-2011),Chhaos. (04-03-2015),coolJDL1234 (12-17-2011),Crazy_Gamer (07-26-2011),Cryptonic (04-18-2011),DareoTheOreo (07-07-2011),Departure (04-18-2011),Dieorwin (11-04-2011),douglaskx (03-10-2012),Drake (03-05-2012),Dropstep (07-09-2011),edmondc1 (05-21-2011),Effexx (08-07-2011),elitonk (08-07-2011),emkaywe (11-05-2011),fet (08-09-2011),FUKO (04-19-2011),Ghost8631 (09-17-2011),IGotBanned. (10-25-2011),iiNarbz (10-27-2011),iToXiK (10-16-2011),Ixxz (06-29-2011),JustTrollin (04-08-2012),kepuken (04-25-2011),korpze (03-07-2012),LionelMessi10 (04-21-2011),Lunatic (08-11-2011),martin028 (04-13-2012),MillitaryDragon (11-27-2011),Mr..Bob (04-23-2011),MrSkafighter (01-07-2012),Multiyman (01-09-2012),NickNackMan4 (04-10-2012),Nitehawk772 Bkup (10-10-2011),nxkun (11-30-2011),OBrozz (08-07-2011),olivierf (08-16-2011),PashaAmd (04-18-2011),PikaMucha_Itu (04-26-2011),plkdrmmr (03-18-2012),pwnagebeef (10-21-2011),robine (10-15-2011),S0aD (04-19-2011),saskuHOT (11-21-2011),SidiousDarth (04-18-2011),Sketchy (12-30-2011),Slyth (07-28-2011),Spilli (08-18-2011),SteamAss (04-18-2011),S|W|P (07-21-2011),tamamaster (04-18-2011),tomasdog (01-22-2012),Tonysred (05-15-2011),valkmax (11-24-2011),[MPGH]Woods (12-10-2011),WTFXD185 (04-18-2011),Xlilzoosk8rX (08-07-2011),Xuber (02-12-2012),XxkyorakuxX (07-12-2012),yanngoo (11-19-2011)

  3. #2
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,863
    Reputation
    425
    Thanks
    8,598
    An Introduction to OKAY GUISE HERE SOME SOURCE CODE OMNOMNOM

  4. The Following 6 Users Say Thank You to NOOB For This Useful Post:

    [MPGH]flameswor10 (07-04-2011),ortax (08-22-2011),qwerty01 (01-10-2012),shadowfinn11 (08-14-2011),Solo (08-08-2011),tomasdog (01-22-2012)

  5. #3
    tamamaster's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    171
    Reputation
    13
    Thanks
    6
    My Mood
    Innocent
    heh u actually posted it huh?
    good job :/

  6. The Following User Says Thank You to tamamaster For This Useful Post:

    tomasdog (01-22-2012)

  7. #4
    “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
    Wow it really works bro? Awsome



    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

  8. The Following User Says Thank You to SteamAss For This Useful Post:

    tomasdog (01-22-2012)

  9. #5
    Margherita's Avatar
    Join Date
    Jan 2011
    Gender
    female
    Posts
    11,306
    Reputation
    783
    Thanks
    1,282
    My Mood
    Bashful
    Good job, nice tutorial sort of.
    PM Me | VM Me | Rules

    MARGHERITA

  10. The Following User Says Thank You to Margherita For This Useful Post:

    tomasdog (01-22-2012)

  11. #6
    “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
    Hey I got an error wile building:

    fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory



    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

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

    tomasdog (01-22-2012)

  13. #7
    SidiousDarth's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    173
    Reputation
    10
    Thanks
    5
    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>
    #include "stdafx.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?
    Aok im gunna download this and leech the dll and call it my self

  14. The Following User Says Thank You to SidiousDarth For This Useful Post:

    tomasdog (01-22-2012)

  15. #8
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    @xXDude311
    Remove #include "stdafx.h"
    I forgot to remove it ==
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

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

    tomasdog (01-22-2012)

  17. #9
    tamamaster's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    171
    Reputation
    13
    Thanks
    6
    My Mood
    Innocent
    lol u gonna repost with that in it or just gonna leave it

  18. The Following User Says Thank You to tamamaster For This Useful Post:

    tomasdog (01-22-2012)

  19. #10
    Cryptonic's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    United Provinces of Canada
    Posts
    1,221
    Reputation
    44
    Thanks
    176
    My Mood
    Bored
    Thanks.
    Good for noobs like me
    My Projects

    Basic Nexon Account Generator | [Source]FvClickBot | UltimateClean - Advanced CA Cleaner




     
    Quote Originally Posted by traiphoenix View Post
    this hack not working
    Quote Originally Posted by CAFlames View Post
    your brain not working
    Quote Originally Posted by iReapzi View Post
    What about the horny 15 year olds?
    Quote Originally Posted by PepsiXHacker View Post
    Well, they're the ones with mods of naked viper.
    Quote Originally Posted by iReapzi View Post
    Why would they want mods of naked viper, not like the can see her body in game
    Quote Originally Posted by AVGN View Post
    http://www.mpgh.net/forum/210-combat...exy-viper.html
    Quote Originally Posted by iReapzi View Post
    Brb questioning my sexuality.
    Quote Originally Posted by AVGN View Post
    Quote Originally Posted by PepsiXHacker View Post
    Dat bod.


    Previous name "PepsiXHacker"

  20. The Following User Says Thank You to Cryptonic For This Useful Post:

    tomasdog (01-22-2012)

  21. #11
    “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
    Quote Originally Posted by flameswor10 View Post
    @xXDude311
    Remove #include "stdafx.h"
    I forgot to remove it ==
    Ok Thanks what features does it got? bullet something...?



    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

  22. The Following User Says Thank You to SteamAss For This Useful Post:

    tomasdog (01-22-2012)

  23. #12
    Cryptonic's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    United Provinces of Canada
    Posts
    1,221
    Reputation
    44
    Thanks
    176
    My Mood
    Bored
    Quote Originally Posted by xXDude311 View Post

    Ok Thanks what features does it got? bullet something...?
    Super Bullets.

    Tested and Working.


    I has a question. If you add norecoil in (#define RECOIL1 0x37473C70, 2, 3, 4, 5) in, would you put this for the test?

    memcpy( (PBYTE)RECOIL1, (PBYTE)"\x33\xC0\xC0", 3 );
    and 2, 3, 4, 5?
    Last edited by Cryptonic; 04-18-2011 at 08:34 PM.
    My Projects

    Basic Nexon Account Generator | [Source]FvClickBot | UltimateClean - Advanced CA Cleaner




     
    Quote Originally Posted by traiphoenix View Post
    this hack not working
    Quote Originally Posted by CAFlames View Post
    your brain not working
    Quote Originally Posted by iReapzi View Post
    What about the horny 15 year olds?
    Quote Originally Posted by PepsiXHacker View Post
    Well, they're the ones with mods of naked viper.
    Quote Originally Posted by iReapzi View Post
    Why would they want mods of naked viper, not like the can see her body in game
    Quote Originally Posted by AVGN View Post
    http://www.mpgh.net/forum/210-combat...exy-viper.html
    Quote Originally Posted by iReapzi View Post
    Brb questioning my sexuality.
    Quote Originally Posted by AVGN View Post
    Quote Originally Posted by PepsiXHacker View Post
    Dat bod.


    Previous name "PepsiXHacker"

  24. The Following User Says Thank You to Cryptonic For This Useful Post:

    tomasdog (01-22-2012)

  25. #13
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    4,922
    My Mood
    Cool
    I am going to leech this and call it my own.. wait, mpgh is the only site of which i go on for Coders. NVM
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  26. #14
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,014
    Reputation
    58
    Thanks
    224
    Quote Originally Posted by ************* View Post


    Super Bullets.

    Tested and Working.


    I has a question. If you add norecoil in (#define RECOIL1 0x37473C70, 2, 3, 4, 5) in, would you put this for the test?

    memcpy( (PBYTE)RECOIL1, (PBYTE)"\x33\xC0\xC0", 3 );
    and 2, 3, 4, 5?
    you have to have the correct bytes and addy, but yest that is how you would do it

  27. #15
    bluesky23614's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    131
    Reputation
    8
    Thanks
    9
    My Mood
    Angelic
    Hey thank you very much this stuff help so much i am a newbie at c++ but i am trying to learn it not just for hacking but for other stuff to. but right now i am confuse at this (Variable,cin,functions,operators,declarations,pre processor,floating,booleans,integer,) well i just read them again and again but i just don't get it (Man i am stupid) sorry about that. i am a hard learner.

    This code help me a lot to learn i am just going to learn the basic and stuff and move on fast as i could

    Thank you very much

    BlueSky
    Last edited by bluesky23614; 04-18-2011 at 11:36 PM.
    -·=»‡«=·---I---·=»‡«=·-
    ×÷·.·´¯`·)»Love«(·´¯`·.·÷×
    ,.-~*´¨¯¨`*·~-.¸-(_MPGH_)-,.-~*´¨¯¨`*·~-.
    ¸


Page 1 of 12 12311 ... LastLast