Results 1 to 14 of 14
  1. #1
    franpanpan's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    7
    My Mood
    Aggressive

    Question [Help] Base combined

    Hello i need help fix some mistakes could me help


    Base.cpp
    #include "Base.h"
    #include "Menu.h"

    //Menu Position
    int menux = 20;
    int menuy = 200;

    //Hack Variables
    int HACK1 = 0;
    int HACK2 = 0;
    int HACK3 = 0;
    int HACK4 = 0;

    //Menu Groups
    int removals = 0;
    int visual = 0;

    void cMenu::RenderMenu(void)
    {
    AddItem(" [ Visuals ]", Opt_Folder, &visual, 2, MENUFOLDER);
    if(visual){
    AddItem("No Recoil" , Opt_on_off , &HACK1 , 2, MENUITEM);//
    AddItem("No Reload" , Opt_on_off , &HACK2 , 2 , MENUITEM);//
    }

    AddItem(" [ Removals ]", Opt_Folder, &removals, 2, MENUFOLDER);
    if (removals) {
    AddItem("GlassWalls" , Opt_on_off , &HACK3 , 2, MENUITEM);//
    AddItem("SuperBullet" , Opt_on_off , &HACK4 , 2, MENUITEM);//
    }
    }


    cBase Base;

    void __cdecl cBase::PushToConsole(const char* szCommand )
    {
    DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
    if( dwCShell != NULL )
    {
    DWORD *LTClient = ( DWORD* )( 0x377E7810 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    }

    void cBase::RenderFrame(LPDIRECT3DDEVICE9 pDevice)
    {
    if( HACK1 > 0 ){
    memcpy(( void* )( 0x37460820 ), "\xD8\x66\x54", 4 );
    memcpy(( void* )( 0x3723300C ), "\xD9\x5E\x54", 4 );
    memcpy(( void* )( 0x37460834 ), "\xD9\x46\x48", 4 );
    memcpy(( void* )( 0x37460837 ), "\xD9\x5E\x48", 4 );
    }else{
    memcpy(( void* )( 0x37460820 ), "\x90\x90\x90\x90", 4);
    memcpy(( void* )( 0x3723300C ), "\x90\x90\x90\x90", 4);
    memcpy(( void* )( 0x37460834 ), "\x90\x90\x90\x90", 4);
    memcpy(( void* )( 0x37460837 ), "\x90\x90\x90\x90", 4);
    }
    if( HACK2 > 0 ){
    memcpy(( void* )( 0x374AC544 ), "\x0F\x84\xB1\x01\x00\x00", 6 );
    }else{
    memcpy(( void* )( 0x374AC544 ), "\x90\x90\x90\x90\x90\x90", 6 );
    }

    if( HACK3 > 0 ){
    memcpy((void*)(0x5721EA), "\x6A\x00", 2);
    } else {
    memcpy((void*)(0x5721EA), "\x6A\x01", 2);
    }

    if( HACK4 > 0 ){
    memcpy((LPVOID)0x374A7246, "\x90\x90\x90", 3);
    }else{
    memcpy((LPVOID)0x374A7246, "\x0F\x94\xC0", 3);
    }


    if(Directx.pFont == NULL)
    D3DXCreateFontA(pDevice, 15, 0, FW_BOLD, 0, 0, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, PROOF_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial Black", &Directx.pFont );

    if (Mmax==0) Menu.RenderMenu();
    if(Mvisible){
    //Do You Gui/Drawbox Here
    }

    Menu.MenuShow(menux,menuy,Directx.pFont);
    Menu.MenuNav();
    }

    DWORD cBase::GetPointer(int index)
    {
    DWORD* devicePtr = ***(DWORD****)0x909EF8;

    if( devicePtr == NULL )
    return 0;

    return devicePtr[index];
    }

    bool cBase::IsGameReadyForHook(void)
    {
    if( GetModuleHandle( "d3d9.dll" ) != NULL
    && GetModuleHandle( "ClientFX.fxd" ) != NULL
    && GetModuleHandle( "CShell.dll" ) != NULL )
    return true;

    return false;
    }

    DWORD WINAPI dwMainThread(LPVOID)
    {
    while ( !Base.IsGameReadyForHook() )
    Sleep(iWaitTime);

    Directx.Hook();

    return 0;
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    #ifdef LOG
    DeleteFile(LogPath);
    #endif

    CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
    }
    return TRUE;
    }

    My erros
    ------ Build started: Project: CaBase, Configuration: Debug Win32 ------
    Compiling...
    Base.cpp
    c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\base.cpp(109) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
    Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\base.cpp(110) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [13]' to 'LPCWSTR'
    Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    c:\documents and settings\administrador\desktop\hans & gellins base combined\cabase\base.cpp(111) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [11]' to 'LPCWSTR'
    Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    Build log was saved at "file://c:\Documents and Settings\Administrador\Desktop\Hans & Gellins Base Combined\CaBase\Debug\BuildLog.htm"
    CaBase - 3 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

  2. #2
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    OK...

    Change Unicode setting to Multibye

    Member since September 25, 2010

    Current Objectives:
    • Graduate college with a degree in Computer Science
    • Find a decent job in the Computer Science Field
    • Learn more programming languages

    Looking for Elo Boosting Job - League of Legends
    Looking for Bronze -> Gold Jobs


    Skype: whatthedream

  3. #3
    franpanpan's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    7
    My Mood
    Aggressive
    Friend tells me where I have are harder to change because

  4. #4
    cosconub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in the programming section MPGH Cash: $90,000,000,000
    Posts
    372
    Reputation
    -4
    Thanks
    37
    My Mood
    Psychedelic
    Wrong section.....

    and i would tell you how but they invented a thing called Google and The Search bar!!!!!!!!!!

    A man is but the product of his thoughts what he thinks, he becomes.
    ~Mohandas Gandhi


    A Genius is nothing with out an idea, An idea is always an idea even without a genius.
    ~ Immortal

  5. #5
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    Quote Originally Posted by cosconub View Post
    Wrong section.....

    and i would tell you how but they invented a thing called Google and The Search bar!!!!!!!!!!
    Well some people to help, but if you don't want to please don't post?
    ....

    Member since September 25, 2010

    Current Objectives:
    • Graduate college with a degree in Computer Science
    • Find a decent job in the Computer Science Field
    • Learn more programming languages

    Looking for Elo Boosting Job - League of Legends
    Looking for Bronze -> Gold Jobs


    Skype: whatthedream

  6. #6
    franpanpan's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    7
    My Mood
    Aggressive
    Thank you thank you friend

  7. #7
    -xGhost-'s Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    C:\Sytem32
    Posts
    347
    Reputation
    9
    Thanks
    57
    My Mood
    Relaxed
    Quote Originally Posted by Nubzgetkillz View Post
    Well some people to help, but if you don't want to please don't post?
    ....
    Thank you Jesus....
    He probably doesn't even know how to fix it, probably just wanted post count or to make someone feel bad... So Sad...



  8. #8
    Capevaldo's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    CWBeats
    Posts
    5,518
    Reputation
    242
    Thanks
    1,145
    My Mood
    Drunk
    Wrong section.
    Chance character set to multibyte (Project > Properties > Configuration Properties > General > Character set > Use multibyte Character Set > Apply > Ok)

  9. #9
    GodHack2's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    645
    Reputation
    38
    Thanks
    762
    My Mood
    Amused
    it is not funny anymore





    beat this bitches ^^^^^^^

    Current Stats : Bored :/


    Respect list :
    Crash !
    Gordon'
    Markoj

  10. #10
    AVGN's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Making America Great Again.
    Posts
    15,451
    Reputation
    1549
    Thanks
    6,234
    i swear i move 2 of these every day --____--



    ^Thanks to RJ^




  11. #11
    eXaLtIc™'s Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    203
    Reputation
    10
    Thanks
    142
    Quote Originally Posted by AVGN View Post
    i swear i move 2 of these every day --____--
    Correct and I thought it was more than two?

  12. #12
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    Quote Originally Posted by CaPeVaLdO View Post
    Wrong section.
    Chance character set to multibyte (Project > Properties > Configuration Properties > General > Character set > Use multibyte Character Set > Apply > Ok)
    Do that.. and please.. stop posting so many of these help threads....

    Member since September 25, 2010

    Current Objectives:
    • Graduate college with a degree in Computer Science
    • Find a decent job in the Computer Science Field
    • Learn more programming languages

    Looking for Elo Boosting Job - League of Legends
    Looking for Bronze -> Gold Jobs


    Skype: whatthedream

  13. #13
    Amatowarrior's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    629
    Reputation
    14
    Thanks
    102
    My Mood
    Inspired
    Unibyte to Multibyte, there is a tutorial posted a month ago, use the search button. I recommend removing your code as noobs are seeing you codes (such as super bullet)
    Tools UNDETECTED - PATCHED [I will only have recent versions up!]
    Tapper V1.15: http://www.mpgh.net/forum/164-combat...r-v1-15-a.html
    Amato Inject V1.15: http://www.mpgh.net/forum/292-combat...t-v1-15-a.html

    Mods
    L96A1 - Arctic Wolf
    Super M416 CQB
    Super M16A3
    MW2 M92FS (M9)
    Starcraft 2 L96A1

    PVT VIP
    Aimbot: 65% (Have full source code)
    OPK: 100% (Uses Enemy Class)
    Telekill: 100% (Uses Enemy Class)
    Ghost Mode: 80% (In Semi-Stages)
    Super Bullets: 100% (Thanks Deadlinez/hahaz!)
    Menu Sprite: 100% (Thanks whit!)



  14. #14
    fvestrgenrl's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    172
    Reputation
    9
    Thanks
    26
    LEARN FUCKING C++ BEFORE YOU TRY TO MAKE A HACK AND STOP FUCKING MAKING COUNTLESS GOD DAMN HELP THREADS NOW GET YOUR ASS A BOOK AND DONT MAKE ONE MORE FUCKING THREAD UNTIL YOU READ IT!!!!!!!!!!!!!!!
    nuff said
    Quote Originally Posted by fallon View Post
    hi i have make a hack and with hot keys but when i start it combat arms close down


    i use this code



    Code:
    PushToConsole("SkelModelStencil (V_F9)1");
    PushToConsole("ShowFps (V_INSERT");
    PushToConsole("ActivationDistance 999999(V_F6)" );
    PushToConsole("DisableCrosshair (V_NUMPAD 1" );
    PushToConsole("CrossHairR 255(V_NUMPAD 2) ");
    PushToConsole("ReloadSpeed 0.000000(V_F5) ");
    }
    Learning C++
    Pg 33/1225
    2.7%

Similar Threads

  1. help Hans & Gellins Base Combined
    By yoyoman4567 in forum Combat Arms Coding Help & Discussion
    Replies: 9
    Last Post: 02-21-2011, 02:34 PM
  2. Hans Menu & Gellins Base Combined By Me
    By whit in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 307
    Last Post: 11-20-2010, 11:36 PM
  3. [Help] Base COmbat Arms BR Hack with Menu!
    By filecroc in forum C++/C Programming
    Replies: 1
    Last Post: 09-29-2010, 10:05 AM
  4. [help] bases
    By speedforyou in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 4
    Last Post: 08-12-2010, 07:03 AM
  5. [Help] Base
    By UnOwN CoD3R in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 07-13-2010, 10:29 AM