Page 1 of 3 123 LastLast
Results 1 to 15 of 33
  1. #1
    yomo710's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    United States
    Posts
    867
    Reputation
    9
    Thanks
    113
    My Mood
    Amused

    My errors when compiling

    well heres the code im using and im getting 3 erors yes i am gonna give credits to the base
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll" ) != NULL
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL
    && GetModuleHandleA( "CShell.dll" ) != NULL )
    return true;
    return false;
    }
    void __cdecl PushToConsole( const char* szCommand ) // This is the beginning of the PTC Method
    {
    DWORD *LTClient = ( DWORD* )( 0x377E7810 /*This is the L.T.Client.*/ );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    void main()
    {
    // Put all of your bools here for hotkey hacks.
    // For example:
    bool chams = false;
    bool spread = false;
    while(true)
    {

    // This is a example of a hotkey hack.
    if(GetAsyncKeyState(VK_NUMPAD1)<0){ // If you press NUMPAD1
    if(chams == true){ // If the bool chams is true
    PushToConsole("SkelModelStencil 0"); // Do this. For example this line is for NX Chams off.
    chams = false; // Make sure bool chams is false.
    } else { // Now where saying if bool chams is equal to false turn on.
    PushToConsole("SkelModelStencil 1"); // Do this. For example this line is for NX Chams on.
    chams = true; // Make sure bool chams is true.
    }
    if(GetAsyncKeyState(VK_NUMPAD2)<0){ // If you press NUMPA
    if(spread == true){
    PushToConsole("PerturbRotationEffect 0.000000" );
    PushToConsole("PerturbIncreaseSpeed 0.000000" );
    PushToConsole("PerturbWalkPercent 0.000000" );
    PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
    PushToConsole("PerturbRecoil 0.000000" );
    PushToConsole("FireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
    PushToConsole("ZoomedFireMovePerturb 0.000000" );
    spread = false; // Make sure bool chams is false.
    } else { // Now where saying if bool chams is equal to false turn on.
    PushToConsole("PerturbRotationEffect 0.000000" );
    PushToConsole("PerturbIncreaseSpeed 0.000000" );
    PushToConsole("PerturbWalkPercent 0.000000" );
    PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
    PushToConsole("PerturbRecoil 0.000000" );
    PushToConsole("FireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
    PushToConsole("ZoomedFireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireDuckPerturb 0.000000" );
    spread = true; // Make sure bool chams is true.
    }

    }

    }
    // Sleep makes less lag. Because the PTC Commands above are rapidly being used. This creates a break between loading again.
    Sleep(200);
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main(); // Loads the void main.
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    // If you want to show a message box or open a website when injected put it here.
    // For example:
    system("start http://Mpgh.net/");
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL); // Ignore this.
    }
    return TRUE;
    }




    heres the errors



    1>------ Build started: Project: CNSBase, Configuration: Debug Win32 ------
    1>Compiling...
    1>Base.cpp
    1>d:\documents and settings\owner\my documents\cnsbase\cnsbase\base.cpp(70) : error C2601: 'dwHackThread' : local function definitions are illegal
    1> d:\documents and settings\owner\my documents\cnsbase\cnsbase\base.cpp(22): this line contains a '{' which has not yet been matched
    1>d:\documents and settings\owner\my documents\cnsbase\cnsbase\base.cpp(77) : error C2601: 'DllMain' : local function definitions are illegal
    1> d:\documents and settings\owner\my documents\cnsbase\cnsbase\base.cpp(22): this line contains a '{' which has not yet been matched
    1>d:\documents and settings\owner\my documents\cnsbase\cnsbase\base.cpp(88) : fatal error C1075: end of file found before the left brace '{' at 'd:\documents and settings\owner\my documents\cnsbase\cnsbase\base.cpp(22)' was matched
    1>Build log was saved at "file://d:\Documents and Settings\Owner\My Documents\CNSBase\CNSBase\Debug\BuildLog.htm"
    1>CNSBase - 3 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========




    please help
    I usually don't spend this much time on the internet, but when I do, I'm on some forum.
    Gift me credits or BTC! 1MktRupu3Goup79PrnYFW13bRi9wciiWWs


    Buying all starbucks accounts with currency!

  2. #2
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,074
    Reputation
    50
    Thanks
    936
    My Mood
    Fine
    Oh my fucking god. Here comes the ruthless flaming because I'm fucking tired of this bullshit.

    Do you have to make like 3 fucking threads every single god damn day asking for some fucking help because you are retarded??? How many times have the people in this section told you to go learn C++ before fucking coming here and asking stupid questions? All you are doing is pissing people off and spamming this section. You are probably the most stupidest person I have ever seen... How the fuck do you live without getting the shit beat out of you every single day. Go pick up a fucking C++ book, and read it before coming back to this section. You have been banned before, for spamming this section and you will be panned again (hopefully permanently this time). You release a simple "hack" yet you dont even give credits fucking Palestinian(avatars dont lie!) leecher.

    End

    Oh and you forgot a }

  3. The Following 12 Users Say Thank You to CodeDemon For This Useful Post:

    cookie hack (09-04-2010),Crash (09-04-2010),flashlight95 (09-04-2010),fvestrgenrl (09-04-2010),LightzOut (09-05-2010),markoj (09-04-2010),o-o (09-04-2010),TayxPwnage (09-04-2010),thegreatn00b (09-04-2010),whatup777 (09-04-2010),whit (09-04-2010),Yepikiyay (09-04-2010)

  4. #3
    TayxPwnage's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    0
    -fixed in 30 seconds and im a true noob- /

  5. #4
    flashlight95's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    12-34 Poopie Street Posts: Over 9000!
    Posts
    128
    Reputation
    10
    Thanks
    15
    Quote Originally Posted by CodeDemon View Post
    Oh my fucking god. Here comes the ruthless flaming because I'm fucking tired of this bullshit.

    Do you have to make like 3 fucking threads every single god damn day asking for some fucking help because you are retarded??? How many times have the people in this section told you to go learn C++ before fucking coming here and asking stupid questions? All you are doing is pissing people off and spamming this section. You are probably the most stupidest person I have ever seen... How the fuck do you live without getting the shit beat out of you every single day. Go pick up a fucking C++ book, and read it before coming back to this section. You have been banned before, for spamming this section and you will be panned again (hopefully permanently this time). You release a simple "hack" yet you dont even give credits fucking Palestinian(avatars dont lie!) leecher.

    End

    Oh and you forgot a }
    The truth has been spoken.
    /yea

  6. #5
    Amatowarrior's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    629
    Reputation
    14
    Thanks
    102
    My Mood
    Inspired
    Quote Originally Posted by CodeDemon View Post
    Oh my fucking god. Here comes the ruthless flaming because I'm fucking tired of this bullshit.

    Do you have to make like 3 fucking threads every single god damn day asking for some fucking help because you are retarded??? How many times have the people in this section told you to go learn C++ before fucking coming here and asking stupid questions? All you are doing is pissing people off and spamming this section. You are probably the most stupidest person I have ever seen... How the fuck do you live without getting the shit beat out of you every single day. Go pick up a fucking C++ book, and read it before coming back to this section. You have been banned before, for spamming this section and you will be panned again (hopefully permanently this time). You release a simple "hack" yet you dont even give credits fucking Palestinian(avatars dont lie!) leecher.

    End

    Oh and you forgot a }
    *owned*
    /short
    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!)



  7. #6
    fvestrgenrl's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    172
    Reputation
    9
    Thanks
    26
    About time someone fucking shut this douchebag up.
    /raped
    /leecher GTFO
    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%

  8. #7
    Yepikiyay's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    320
    Reputation
    10
    Thanks
    35
    My Mood
    Drunk
    Quote Originally Posted by flashlight95 View Post
    The truth has been spoken.
    /yea
    so airgo gtfo

    I Hate You
    Current Status: Online Playing MineCraft

  9. #8
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    /Move Too C++ Section...

  10. #9
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Yay.... Nice speech codedemon

  11. #10
    Fabolous's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    192.168.1.01
    Posts
    2,706
    Reputation
    261
    Thanks
    682
    My Mood
    Paranoid
    Quote Originally Posted by Zane Slayman View Post
    Yay.... Nice speech codedemon
    You cant code either so shut the fuck up

  12. #11
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Yes i can. I was a dumb ass before. You see my menu hacks?

  13. #12
    Fabolous's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    192.168.1.01
    Posts
    2,706
    Reputation
    261
    Thanks
    682
    My Mood
    Paranoid
    Quote Originally Posted by Zane Slayman View Post
    Yes i can. I was a dumb ass before. You see my menu hacks?
    ya i see them. and they are shit.

  14. #13
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    Quote Originally Posted by Zane Slayman View Post
    Yes i can. I was a dumb ass before. You see my menu hacks?
    Well Coding Ca Isnt That Hard Too Do Anymore..Everyone Has A Menu Now...
    Not Surprised You Have One...

  15. #14
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,512
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    Quote Originally Posted by whit View Post


    Well Coding Ca Isnt That Hard Too Do Anymore..Everyone Has A Menu Now...
    Not Surprised You Have One...
    He's probably using Gellins base...

  16. #15
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    well.. your right but im doin better than before.

Page 1 of 3 123 LastLast

Similar Threads

  1. Error when compile whit's base
    By CanYouDoIt in forum Combat Arms Coding Help & Discussion
    Replies: 9
    Last Post: 11-11-2010, 05:46 PM
  2. I keep getting this error when ever i try to compile the hacks i made
    By zackwpulaski in forum Combat Arms Coding Help & Discussion
    Replies: 8
    Last Post: 11-10-2010, 12:42 PM
  3. Help me with this error when compiling
    By Beatz in forum Combat Arms Help
    Replies: 3
    Last Post: 07-09-2010, 02:36 AM
  4. help!! error when registering kwr account!
    By jam in forum WarRock Korea Hacks
    Replies: 5
    Last Post: 02-26-2008, 08:57 AM
  5. I got a error when i filled in all the things for a kwr account
    By lolliepop in forum WarRock Korea Hacks
    Replies: 6
    Last Post: 08-21-2007, 10:07 PM