Page 1 of 3 123 LastLast
Results 1 to 15 of 35
  1. #1
    AeroMan's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Hell
    Posts
    3,294
    Reputation
    189
    Thanks
    3,049
    My Mood
    Busy

    How to code your own no-menu base

    Since i have been coding for months, ppl asked me over & over how to code their own 'NoMenu Base' without any Copy & Paste.


    This tutorial explains:
    1- How all the functions operate.
    2- What to include
    3- The Sleep method

    first we include our windows header file:
    Code:
    #include <windows.h> // We include our windows header file.
    then we include our adresses:
    Code:
    #define ADR_PLAYERPOINTER0x00
    #define ADR_SERVERPOINTER 0x00
    Then we make the module, what will include the hacks:
    Code:
    void source_codes(){ // We define our 'Source Codes' in here.
    DWORD *dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
    DWORD *dwServerPtr = *(DWORD*)ADR_SERVERPOINTER;
    //Hack here
    } // Make sure your stay before this line, else it will lead to errors as result.
    Then we gonna make our module thread, also called 'HackThread'
    Code:
    void Module_Thread(){// We define our 'Modules' in here, So it will run the feathurs included into our project.
    for(;;){ //for 'nothing' we going to run the following functions:
    source_codes(); // We are going to run the 'source codes' module, it will run all the items added into 'source codes'.
    } // End the include of our Modules.
    Sleep(200); // Prevents the CPU from overrunning.
    } // End our Module_Thread.
    Then we make our hack start with this code:
    Code:
    BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD Basic_Base,LPVOID lpvReserved)
    { // Begin our module running
    if(Basic_Base /*Our defention*/ == DLL_PROCESS_ATTACH) // If our dll is attached to a process were are going to run a thread.
    { // Begin our Thread Running
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Module_Thread/*We run our ModuleThread to start the whole process*/,0,0,0);
    } // End our Thread Running
    return TRUE; // We let the process run over again, if we dont do this, the dll will not work.
    } // End our Module Running



    in the end it will look like this:
    Code:
    /*
     * Basic Base by AeroMan
     * Source coded & guided by AeroMan
     * www.mpgh.net
     */
    
    #include <windows.h> // We include our windows header file.
    
    #define ADR_PLAYERPOINTER 0x00
    #define ADR_SERVERPOINTER 0x00
    
    void source_codes(){ // We define our 'Source Codes' in here.
    DWORD *dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
    DWORD *dwServerPtr = *(DWORD*)ADR_SERVERPOINTER;
    //Hack here
    } // Make sure your stay before this line, else it will lead to errors as result.
    
    void Module_Thread(){// We define our 'Modules' in here, So it will run the feathurs included into our project.
    for(;;){ //for 'nothing' we going to run the following functions:
    source_codes(); // We are going to run the 'source codes' module, it will run all the items added into 'source codes'.
    } // End the include of our Modules.
    Sleep(200); // Prevents the CPU from overrunning.
    } // End our Module_Thread.
    
    BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD Basic_Base,LPVOID lpvReserved)
    { // Begin our module running
    if(Basic_Base /*Our defention*/ == DLL_PROCESS_ATTACH) // If our dll is attached to a process were are going to run a thread.
    { // Begin our Thread Running
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Module_Thread/*We run our ModuleThread to start the whole process*/,0,0,0);
    } // End our Thread Running
    return TRUE; // We let the process run over again, if we dont do this, the dll will not work.
    } // End our Module Running
    this small tut is nothing, all works fine if you write it correctly like 'DllMain'
    Only 'D' & 'M' must be big letters.



    Goodluck
    Hope this answers all your questions

  2. The Following 23 Users Say Thank You to AeroMan For This Useful Post:

    -Bl00d- (09-10-2011),AskAndHelp (03-28-2011),D e a t h h a u n t S (05-17-2011),daryldiano12 (03-05-2011),Despairado (02-16-2011),iiNarbz (10-29-2011),Jhem (07-07-2014),Joe_les_guns (10-26-2011),karam98 (04-23-2011),kip3300 (12-29-2010),lolbie (01-25-2011),mcbone14 (05-05-2012),Meleemilan (03-23-2011),obinobi (01-05-2013),ohcomeon (04-05-2011),ryski123 (02-21-2011),SizeMan (09-05-2011),terrence23 (10-22-2013),tinmar0 (02-14-2012),umbraga01 (01-23-2011),Xmagz (05-12-2011),yakuza08 (11-20-2011),[Cold]Taker Banned (04-22-2011)

  3. #2
    larta's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In your Back !!
    Posts
    323
    Reputation
    10
    Thanks
    69
    My Mood
    Cool
    Thx man :P
    Already know it, but I think it will be usefull.
    Btw, we need to know a bit about prog. to understand the whole tut I think( thats only my opinion). You explain everything, that's pretty cool.

    If someone don't know anything about coding, he just need a brain to understand the explanation, and to make the hacks' functions. Really easy now you all have the "base" of every noMenu.

  4. #3
    ♪ςander!♪'s Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    c++/Games
    Posts
    1,304
    Reputation
    -13
    Thanks
    237
    My Mood
    Amazed
    its helped me it help others who wants code
    also i quited its hard for me

  5. #4
    Rainscape's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    75436567557576 Posts: 68,295
    Posts
    1,746
    Reputation
    -31
    Thanks
    119
    My Mood
    Cold
    I'm getting this error:
    Code:
    ------ Build started: Project: HTR NoMenu, Configuration: Release Win32 ------
    Compiling...
    HTR NoMenu.cpp
    .\HTR NoMenu.cpp(20) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(21) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(22) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(23) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(24) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(25) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(26) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(27) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(28) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    Build log was saved at "file://c:\Users\HackTesteR\Documents\Visual Studio 2008\Projects\HTR NoMenu\HTR NoMenu\Release\BuildLog.htm"
    HTR NoMenu - 9 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

  6. #5
    gamernuub's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    Norway
    Posts
    801
    Reputation
    9
    Thanks
    69
    Nice !

    You explain everything perfectly !
    It's still a C&P but your learn what the code does/m-ean

    offtopic : LOG ON MSN ! xD

    God job !
    ATTENTION WR PLAYERS !

    I AM SELLLING ALL MY WR RETAIL ACCOUNTS ! CHEAP!

    https://www.mpgh.net/forum/124-sellin...ml#post4862046

    11 succesfull trades



    [IMG]https://i843.photobucke*****m/albums/zz356/white_tiger0226/uamfmmbygmfs-1.gif[/IMG]

  7. #6
    TheCamels8's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Israel :D
    Posts
    2,945
    Reputation
    174
    Thanks
    1,376
    My Mood
    Cheeky
    Good job bro!
    Come to msn

  8. #7
    Zithium's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    UK
    Posts
    2,996
    Reputation
    103
    Thanks
    438
    My Mood
    Psychedelic
    Great job man, thanks.
    "Depending on the context, I may or may not enjoy getting stoned to death" - zιтнιυм™

    Ex WarRock Minion Force



  9. #8
    kip3300's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    C++ no-menu, menu
    Posts
    349
    Reputation
    18
    Thanks
    64
    My Mood
    Yeehaw
    Nice, helped me




    Respect:
    [MPGH]Coeus
    Aeroman (teacher)
    TheCamels8
    Flash
    Larta (teacher)
    Sh_z_sektor

  10. #9
    Rainscape's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    75436567557576 Posts: 68,295
    Posts
    1,746
    Reputation
    -31
    Thanks
    119
    My Mood
    Cold
    Nobody cares to help me... :/...

  11. #10
    gamernuub's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    Norway
    Posts
    801
    Reputation
    9
    Thanks
    69
    Quote Originally Posted by HackTesteR View Post
    Nobody cares to help me... :/...
    Go cry then ...


    All you need is in this post -.-
    ATTENTION WR PLAYERS !

    I AM SELLLING ALL MY WR RETAIL ACCOUNTS ! CHEAP!

    https://www.mpgh.net/forum/124-sellin...ml#post4862046

    11 succesfull trades



    [IMG]https://i843.photobucke*****m/albums/zz356/white_tiger0226/uamfmmbygmfs-1.gif[/IMG]

  12. #11
    Rainscape's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    75436567557576 Posts: 68,295
    Posts
    1,746
    Reputation
    -31
    Thanks
    119
    My Mood
    Cold
    Quote Originally Posted by gamernuub View Post
    Go cry then ...


    All you need is in this post -.-
    Quote Originally Posted by HackTesteR View Post
    I'm getting this error:
    Code:
    ------ Build started: Project: HTR NoMenu, Configuration: Release Win32 ------
    Compiling...
    HTR NoMenu.cpp
    .\HTR NoMenu.cpp(20) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(21) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(22) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(23) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(24) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(25) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(26) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(27) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    .\HTR NoMenu.cpp(28) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
            Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    Build log was saved at "file://c:\Users\HackTesteR\Documents\Visual Studio 2008\Projects\HTR NoMenu\HTR NoMenu\Release\BuildLog.htm"
    HTR NoMenu - 9 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Read that dude... jeez

  13. #12
    firefox800's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    294
    Reputation
    10
    Thanks
    2,136
    My Mood
    Fine
    Quote Originally Posted by Rainscape View Post




    Read that dude... jeez
    Don't C/P dude..try to understand how it build..just review your works..nice try...
    Note: addies/offsets shoud not be empty..

  14. #13
    [W]eb[C]ombat's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    return TRUE;
    Posts
    390
    Reputation
    10
    Thanks
    1,202
    My Mood
    Sleepy
    Thanks! this might help


  15. #14
    AskAndHelp's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Warrock hack section
    Posts
    84
    Reputation
    10
    Thanks
    9
    My Mood
    Fine
    Could someone please give me an example of what I have to make on the place where: // hack here stands.

  16. #15
    Idrawheart's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    28
    Reputation
    10
    Thanks
    12
    My Mood
    Paranoid

    no menu base?

    what does a no menu base do, what is it?

Page 1 of 3 123 LastLast