Results 1 to 6 of 6
  1. #1
    EDWINSEE's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Arkansas
    Posts
    125
    Reputation
    10
    Thanks
    127
    My Mood
    Angelic

    I need some help with 3 errors.

    i keep getting 3 errors i fix most of them.
    here are the errors. please show me how to fix them. and ty GameTrainerMaker + CoderNever when i finish i give u guys the most credit.
    __________________________________________________ _______________

    base.cpp(151) : error C2601: 'dwHackThread' : local function definitions are illegal
    base.cpp(23): this line contains a '{' which has not yet been matched
    base.cpp(158) : error C2601: 'DllMain' : local function definitions are illegal
    base.cpp(23): this line contains a '{' which has not yet been matched
    base.cpp(166) : fatal error C1075: end of file found before the left brace '{'
    __________________________________________________ _______________
    here is the hack source *Credits To GameTrainerMaker + CoderNever*
    __________________________________________________ _______________
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll" ) != NULL
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL
    && GetModuleHandleA( "CSheld.dll" ) != NULL )
    return true;
    return false;
    }

    void __cdecl PushToConsole( const char* szCommand )
    {
    DWORD *LTClient = ( DWORD* )( 0x007d9200 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    void main()
    {
    while(true)
    {
    if(GetAsyncKeyState(VK_NUMPAD0)<0){
    PushToConsole("SkelModelStencil 1" );
    PushToConsole("ModelDebug_DrawBoxes 1" );
    }

    if(GetAsyncKeyState(VK_NUMPAD1)<0){
    PushToConsole("FogEnable 1" );
    }

    if(GetAsyncKeyState(VK_NUMPAD2)<0){
    PushToConsole("WeaponSway 0.000000" );
    }

    if(GetAsyncKeyState(VK_NUMPAD3)<0){
    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" );
    }

    if(GetAsyncKeyState(VK_NUMPAD9)<0){
    memcpy((LPVOID)0x3741A550, "\x90\x90\x90", 3);
    memcpy((LPVOID)0x3740AA99, "\x90\x90\x90", 3);
    memcpy((LPVOID)0x3741A564, "\x90\x90\x90", 3);
    memcpy((LPVOID)0x3741A567, "\x90\x90\x90", 3);
    memcpy((LPVOID)0x3741A570, "\x90\x90\x90", 3);
    }

    if(GetAsyncKeyState(VK_NUMPAD5)<0){
    PushToConsole("ActivationDistance 999999" );
    }

    if(GetAsyncKeyState(VK_UP)<0){
    PushToConsole("CamMaxPosYOffset 200.000000" );
    }

    if(GetAsyncKeyState(VK_DOWN)<0){
    PushToConsole("CamMaxPosYOffset -1000.000000" );
    }

    if(GetAsyncKeyState(VK_NUMPAD5)<0){
    PushToConsole("PlayerGravity 800" );
    } else {
    PushToConsole("PlayerGravity -800");
    }

    if(GetAsyncKeyState(VK_NUMPAD6)<0){
    PushToConsole("FullBright 1" );
    }

    if(GetAsyncKeyState(VK_NUMPAD7)<0){
    PushToConsole("JumpVel 900.000000" );
    }

    if(GetAsyncKeyState(VK_NUMPAD8)<0){
    PushToConsole("DisableCrosshair 0" );
    }

    if(GetAsyncKeyState(VK_HOME)<0){
    PushToConsole("windowed 1" );
    }

    if(GetAsyncKeyState(VK_INSERT)<0){
    PushToConsole("BaseMoveAccel 5000.000000");
    PushToConsole("StartAccel 5000.000000");
    PushToConsole("MaxAccel 5000.000000");
    PushToConsole("AccelInc 5000.000000");
    PushToConsole("WalkVel 5000.000000");
    PushToConsole("FRunVel 5000.000000");
    PushToConsole("BRunVel 5000.000000");
    PushToConsole("SRunVel 5000.000000");
    } else {
    PushToConsole("BaseMoveAccel 3000.000000");
    PushToConsole("StartAccel 500.000000");
    PushToConsole("MaxAccel 3000.000000");
    PushToConsole("AccelInc 6000.000000");
    PushToConsole("WalkVel 70.000000");
    PushToConsole("FRunVel 285.000000");
    PushToConsole("BRunVel 285.000000");
    PushToConsole("SRunVel 285.000000");
    }

    if(GetAsyncKeyState(VK_DELETE)<0){
    PushToConsole("ShowFirePath 0" );
    } else {
    PushToConsole("ShowFirePath 1");
    }

    if(GetAsyncKeyState(VK_MULTIPLY)<0){
    PushToConsole("FireSpeed 999.999999" );
    }

    if(GetAsyncKeyState(VK_TAB)<0){
    PushToConsole("ReloadSpeed 0.000000" );
    }

    if(GetAsyncKeyState(VK_END)<0){
    PushToConsole("DrawFlat 0" );
    PushToConsole("drawguns 1");
    PushToConsole("ModelApplySun 0" );
    PushToConsole("SnowEnable 0" );
    PushToConsole("MuzzleLight 0" );
    PushToConsole("EnableWeatherFX 1" );
    PushToConsole("SkyEnable 0");
    PushToConsole("WhiteBlood 1" );
    PushToConsole( "SkyEnable 0" );
    PushToConsole("DrawInterface 0" );
    }

    if(GetAsyncKeyState(VK_ADD)<0){
    PushToConsole("PlayerGravity 0");
    PushToConsole("PlayerVelocity 0");
    }

    if(GetAsyncKeyState(VK_SUBTRACT)<0){
    memcpy((LPVOID)0x37466264, "\x90\x90\x90\x90\x90\x90", 6);
    }
    }

    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }

  2. #2
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    You have Unmatched brace

  3. #3
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,992
    My Mood
    Flirty
    Quote Originally Posted by whit View Post
    You have Unmatched brace
    Just dont even help the C&Per ok.
    I want minion for this section SO BAD! to keep noobs like this posting obvous wrong code.

    CODE NEVER. TAKE DOWN THE FKN TUTORAL!

    and to the threadstarter:

    [img]http://icanhascheezburger.files.*********.com/2008/01/funny-pictures-captain-obvious-cat.jpg[/img]

  4. #4
    coryster2100's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    394
    Reputation
    13
    Thanks
    1,174
    PushToConsole method that you C+Ped is patched bro

  5. #5
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,992
    My Mood
    Flirty
    Quote Originally Posted by coryster2100 View Post
    PushToConsole method that you C+Ped is patched bro
    Not that one.

  6. #6
    EDWINSEE's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Arkansas
    Posts
    125
    Reputation
    10
    Thanks
    127
    My Mood
    Angelic
    I did copy & paste but not all they gave this code and told me that they put errors in that they say i need to fix the errors i fix all of them but 3 there was more then 10 errors so i am doing a good job this is mine first hacks I learn it better this way.

Similar Threads

  1. [Help Request] Need some help with my server premisions
    By pero122 in forum Minecraft Help
    Replies: 5
    Last Post: 11-07-2011, 11:55 PM
  2. [Help Request] I need some help with binding eps7
    By v1zhaixingv1 in forum Vindictus Help
    Replies: 3
    Last Post: 05-18-2011, 10:25 PM
  3. Need some help! with WR
    By dikketr0l in forum Visual Basic Programming
    Replies: 1
    Last Post: 07-17-2007, 09:51 AM
  4. need some help with domains.
    By fastbullet in forum WarRock - International Hacks
    Replies: 1
    Last Post: 04-26-2007, 09:44 AM
  5. need some help with client exe.
    By barney in forum Hack Requests
    Replies: 2
    Last Post: 11-03-2006, 11:05 PM