Page 1 of 7 123 ... LastLast
Results 1 to 15 of 100

Hybrid View

  1. #1
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    831
    Reputation
    44
    Thanks
    401
    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: https://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 02: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
    https://www.youtube.com/watch?v=EMSB1GbBVl8

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

  2. The Following 63 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),IrishKegWarrior (02-21-2018),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-01-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-08-2012),pDevice (06-28-2012),poisongas111 (07-18-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,409
    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.

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

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

  5. #3
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    831
    Reputation
    44
    Thanks
    401
    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
    https://www.youtube.com/watch?v=EMSB1GbBVl8

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

  6. #4
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    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.

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

    T0P-CENT (07-08-2011)

  8. #5
    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 02: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

  9. #6
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    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.

  10. 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)

  11. #7
    Skaterforeva1's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Up your ass
    Posts
    936
    Reputation
    32
    Thanks
    485
    My Mood
    Psychedelic
    Quote Originally Posted by flameswor10 View Post
    Yes, but creating a thread makes the msgbox popup, but not pause the game.
    Would pausing the game just be
    Code:
    System("PAUSE");




    ^Suck it!

  12. #8
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    Quote Originally Posted by Skaterforeva1 View Post
    Would pausing the game just be
    Code:
    System("PAUSE");

    All that does is wait for a keypress before continuing in a command line application. Nothing to do with game hacking. Also, calling that is ridiculously resource intensive. Think about what all it does- suspends the execution of your program, reopens your OS inside of a sub-process, find the pause command, allocate the memory needed for the execution of the command, execute the command and wait for a keystroke, deallocate the memory it allocated, close the sub-process, and then it resumes your program. NEVER EVER USE IT EVER!
    If you ever want to pause a command line application:
    Code:
    cin.get();
    Last edited by Saltine; 09-26-2011 at 08:01 PM.

  13. #9
    puddyforever's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Professor View Post
    Yes, but creating a thread makes the msgbox popup, but not pause the game.
    Basically all you're doing to stalling the game. By showing the messagebox, the process is put to sleep until the messagebox is destroyed.

  14. #10
    Ryuesi's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Right here.
    Posts
    7,339
    Reputation
    413
    Thanks
    2,397
    My Mood
    Relaxed
    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
    The Big boss





    Contributor Since 24-11-2011 ~ 26-12-2011
    VM / PM




  15. #11
    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

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

    Nitehawk772 Bkup (10-22-2011)

  17. #12
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    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.

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

    Faz (04-22-2012)

  19. #13
    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 02: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

  20. #14
    iMoD- HD`'s Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    L.A , California
    Posts
    87
    Reputation
    10
    Thanks
    7
    My Mood
    Mellow
    Quote Originally Posted by MarissaMonily View Post
    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
    ii can be your tutor but you cant be annoying .-.

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

Page 1 of 7 123 ... LastLast