Page 1 of 7 123 ... LastLast
Results 1 to 15 of 100
  1. #1
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted

    Thumbs up Use C++ code and make hacks

    Hey guys.
    I saw much much posts here about making hacks. So here is a tutorial how to make them. Please press the thanksbutton

    Downloads
    1. Microsoft Visual C++ 2010/2008. Link: Visual C++ 2010 Express - Download - CHIP Online
    2. Microsoft DirectX SDK. Link: Download Details - Microsoft Download Center - DirectX SDK - (June 2010)
    3. Some source code. Link: http://www.mpgh.net/forum/207-combat...menu-base.html

    How To Use the Files
    After you downloaded the files, open them. So install Visual C++ and DIrectX SDK and extract the menubase to your desktop. After you installed all, open up MSV C++. Than click "File" -> "New" -> "Project" and it should popup a new window. Screenshot:


    Now a new window popup. Just click "Next". Another window will popup. Screenshot:


    Now we can add the code. If you want to open the menu base just open the project. But here we must add own code. So i will give you for example a hotkey code. Rightclick source files -> add -> new element and add a new .cpp file. Now you can add the code:

    [html]#include <windows.h>


    void testTH()
    {
    MessageBoxA(NULL, "This is my MsgBox WOO ", "My MsgBox", MB_OK);
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(0, 0, (LPTHREAD_START_ROUTINE)testTH, 0, 0, 0);

    }

    return TRUE;
    }[/html]

    Now choose at top instead of "Debug" "Release" and press the green button. Now it compile the code. After compiling it had created the Dll-File which you easilly can inject with an injector. Look on mpgh for Injectors. The Dll-File's path should be: C:\Users\[Username]\Documents\Visual Studio 2010\Projects\[Projectname]\Release\[Projectname].dll

    I hope I could help you. Please press the "thanksbutton" on the buttom on the right if it worked for you
    Last edited by Ch40zz-C0d3r; 07-04-2011 at 03:04 AM.

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    http://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    http://www.youtube.com/watch?v=Na2kUdu4d_k

  2. The Following 62 Users Say Thank You to Ch40zz-C0d3r For This Useful Post:

    -GEORGE2- (12-15-2012),=ElitE= (07-13-2012),airman360 (07-07-2011),Alexlemaitre (08-10-2011),Angel025 (09-04-2011),AnimeArts (07-26-2011),AnthonyT145 (05-21-2012),asdlolxd77 (05-23-2012),Blacksite (12-22-2011),blue or red (01-25-2012),boss1234567 (08-05-2012),cacacaca110 (09-07-2011),Chhaos. (04-03-2015),cruz967 (09-27-2012),Cryptonic (02-26-2013),DareoTheOreo (07-08-2011),deaddead1 (11-10-2012),edwardjiang (07-28-2011),emkaywe (11-06-2011),fadata (12-03-2011),fclinton (07-21-2011),ghost__420 (05-06-2012),heyhoy (11-21-2012),higatoria (07-15-2011),iamJon (11-03-2011),IQIKxKiLlA (03-18-2012),Jacobhome12345 (07-29-2012),jerty000 (07-07-2011),jose91598 (07-02-2012),justkiddingbro (02-04-2015),Kattyz (07-29-2012),KaylagoesLOL (07-26-2012),kidkiller2 (09-27-2011),KnighTime (09-05-2011),kosmin777 (05-13-2013),kyubinaruto078 (08-02-2011),LMAO25 (04-27-2012),luccss (07-21-2012),Manuska (06-19-2014),MarissaMonily (07-04-2011),mr.mike6992 (11-30-2011),Nightmare (06-28-2012),nozy (08-01-2011),nxkun (11-30-2011),ovingiv (08-09-2012),pDevice (06-28-2012),poisongas111 (07-19-2013),RichTuga (07-22-2011),Rickjf (10-02-2011),rootzman (07-07-2014),Rubypk (06-30-2012),sciencepenguin (04-25-2012),stelievo (08-03-2011),S|W|P (07-21-2011),Thyrius (07-20-2011),wafinasir (06-26-2016),wesleymatador157 (07-22-2011),white-g420 (07-05-2012),xdajay (10-14-2011),xeox (05-08-2012),Xmagz (09-17-2011),ZzzPanZerzzz (07-26-2011)

  3. #2
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Code:
    #include <windows.h>
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		MessageBoxA(NULL, "This is my MsgBox WOO :D", "My MsgBox", MB_OK);
    	}
    
    	return TRUE;
    }
    If you use this code, you can attach OllyDbg to Engine.exe
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

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

    AnthonyT145 (05-21-2012),baraozin (07-08-2011),poisongas111 (07-19-2013),RichTuga (07-22-2011)

  5. #3
    MarissaMonily's Avatar
    Join Date
    Jun 2011
    Gender
    female
    Location
    Depression
    Posts
    112
    Reputation
    -3
    Thanks
    2
    My Mood
    Dead
    I iz confused
    Depression this is why ----V
    when i was 5 years old i was hiding and witnessed my parents be murdered by a robber throughout my life ive been picked on because of a birth defect i have it makes me have a weak bladder so i have to wear diapers because i cant feel or hold in my pee for even a second in kindergarden i broke both of my legs i tried killing myself then but stupid adopted parents took the knife away from me after i cut my neck a little bit ive never really been loved or cared for i think about suicide every day i have no family left no one to put me up when im down or make me feel better all i have is myself

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

    Nitehawk772 Bkup (10-22-2011)

  7. #4
    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 MarissaMonily View Post
    I iz confused
    Then you obviously shouldn't be in this section.
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

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

    Fazil jahangir (04-22-2012)

  9. #5
    MarissaMonily's Avatar
    Join Date
    Jun 2011
    Gender
    female
    Location
    Depression
    Posts
    112
    Reputation
    -3
    Thanks
    2
    My Mood
    Dead
    Quote Originally Posted by flameswor10 View Post
    Then you obviously shouldn't be in this section.
    Wel obviously i try to learn things but im too stupid to learn them -really frustrated-
    If i had the patience and if u would help me learn i would but no none has time for me
    Last edited by MarissaMonily; 07-04-2011 at 03:18 AM.
    Depression this is why ----V
    when i was 5 years old i was hiding and witnessed my parents be murdered by a robber throughout my life ive been picked on because of a birth defect i have it makes me have a weak bladder so i have to wear diapers because i cant feel or hold in my pee for even a second in kindergarden i broke both of my legs i tried killing myself then but stupid adopted parents took the knife away from me after i cut my neck a little bit ive never really been loved or cared for i think about suicide every day i have no family left no one to put me up when im down or make me feel better all i have is myself

  10. #6
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted
    Quote Originally Posted by flameswor10 View Post
    Code:
    #include <windows.h>
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    	DisableThreadLibraryCalls(hDll);
    	if ( dwReason == DLL_PROCESS_ATTACH )
    	{
    		MessageBoxA(NULL, "This is my MsgBox WOO :D", "My MsgBox", MB_OK);
    	}
    
    	return TRUE;
    }
    If you use this code, you can attach OllyDbg to Engine.exe

    hmm thats same code as my. my just creates a thread for it

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    http://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    http://www.youtube.com/watch?v=Na2kUdu4d_k

  11. #7
    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 Ch40zz-C0d3r View Post
    hmm thats same code as my. my just creates a thread for it
    Yes, but creating a thread makes the msgbox popup, but not pause the game.
    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:

    T0P-CENT (07-08-2011)

  13. #8
    MarissaMonily's Avatar
    Join Date
    Jun 2011
    Gender
    female
    Location
    Depression
    Posts
    112
    Reputation
    -3
    Thanks
    2
    My Mood
    Dead
    i hate being stupid its so frustrating i wish somone would teach me face to face how to c++ code so i could just make the hack not complain and whine for somone to make it v.v

    Quote Originally Posted by flameswor10 View Post
    Yes, but creating a thread makes the msgbox popup, but not pause the game.
    Since you are good with making hacks could you maybe help me learn :/ please?
    Last edited by MarissaMonily; 07-04-2011 at 03:34 AM.
    Depression this is why ----V
    when i was 5 years old i was hiding and witnessed my parents be murdered by a robber throughout my life ive been picked on because of a birth defect i have it makes me have a weak bladder so i have to wear diapers because i cant feel or hold in my pee for even a second in kindergarden i broke both of my legs i tried killing myself then but stupid adopted parents took the knife away from me after i cut my neck a little bit ive never really been loved or cared for i think about suicide every day i have no family left no one to put me up when im down or make me feel better all i have is myself

  14. #9
    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 MarissaMonily View Post
    i hate being stupid its so frustrating i wish somone would teach me face to face how to c++ code so i could just make the hack not complain and whine for somone to make it v.v
    Since you are good with making hacks could you maybe help me learn :/?
    I have taught a few people, but it's a huge task teaching.
    You:
    1. Have to be patient
    2. must have time
    3. Must be dedicated

    I am patient, but don't have the other 2.
    So I will be the most horrible teacher, best way to learn is from your mistakes.
    Code a few simple applications, console applications if you must.
    Learn from

    Learn C++
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  15. The Following 6 Users Say Thank You to flameswor10 For This Useful Post:

    Cryptonic (02-26-2013),Ghost8631 (07-24-2011),iamJon (11-03-2011),lighterfan2009 (07-25-2011),nxkun (11-30-2011),Tim1 (07-27-2011)

  16. #10
    CriticalPencil's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    4
    My Mood
    Tired
    Quote Originally Posted by flameswor10 View Post
    I have taught a few people, but it's a huge task teaching.
    You:
    1. Have to be patient
    2. must have time
    3. Must be dedicated

    I am patient, but don't have the other 2.
    So I will be the most horrible teacher, best way to learn is from your mistakes.
    Code a few simple applications, console applications if you must.
    Learn from

    Learn C++
    i feel special /love
    steven taught me

  17. #11
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    http://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    499
    My Mood
    Psychedelic
    CodeNever's tutorial is better, this is just a source, you don't explain any of the code.

  18. The Following 2 Users Say Thank You to DeadLinez For This Useful Post:

    CoderNever (07-07-2011),OBrozz (07-07-2011)

  19. #12
    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 DeadLinez View Post
    CodeNever's tutorial is better, this is just a source, you don't explain any of the code.
    Let me Explain.

    Code:
    #include <windows.h>
    
    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 your process gets attached, show a messagebo.
    		MessageBoxA(NULL, "This is my MsgBox WOO :D", "My MsgBox", MB_OK);
    		//The message will say "This is my MsgBox WOO :D" with the title of "My MsgBox".
    		//The only button that the messagebox will be the OK button.
    	}
    return TRUE;
    // Although the return value doesn't actually matter. You return the value TRUE or FALSE indicatinng success or failure.
    
    }
    http://www.mpgh.net/forum/207-combat...ll-coding.html

    This tut is more detailed
    Last edited by flameswor10; 07-04-2011 at 03:55 AM.
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  20. The Following 8 Users Say Thank You to flameswor10 For This Useful Post:

    DareoTheOreo (07-07-2011),iiNarbz (10-27-2011),markoj (07-07-2011),MillitaryDragon (11-27-2011),nxkun (11-30-2011),OBrozz (07-25-2011),Rubypk (06-30-2012),Skaterforeva1 (07-25-2011)

  21. #13
    joshzex's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Sydney
    Posts
    77
    Reputation
    10
    Thanks
    27
    My Mood
    Happy
    steven....?

  22. #14
    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 joshzex View Post
    steven....?
    yes? .
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  23. #15
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,014
    Reputation
    202
    Thanks
    2,934
    My Mood
    Twisted
    Didn't @flameswor10 already make something like this?

    Current Works:
    ---Horror Game






    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

Page 1 of 7 123 ... LastLast