Page 1 of 3 123 LastLast
Results 1 to 15 of 32
  1. #1
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,040
    Reputation
    52
    Thanks
    376
    My Mood
    In Love

    Injected, Engine runs, CA doesn't load.

    I inject my dll i made, engine runs, but CA never loads. /

    [PHP]#include <windows.h>

    #define RECOIL1 0x3745BC20 //flameswor told me in VM, ty ^^
    #define RECOIL2 0x372315E9
    #define RECOIL3 0x3745BC34
    #define RECOIL4 0x3745BC37
    #define RECOIL5 0x3745BC40

    //----------------------------------------------------------------------------
    //----------------------------------------------------------------------------

    void __cdecl Push(const char* pushCommand)
    {
    DWORD *LTClient = (DWORD*)(0x377ED910);
    void* CONoff = (void*)*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push pushCommand;
    call CONoff;
    add esp, 4;
    }
    }


    bool GameReady()
    {
    if(GetModuleHandleA("d3d9.dll")!=NULL && GetModuleHandleA("ClientFX.fxd")!=NULL && GetModuleHandleA("CShell.dll")!=NULL)
    return true;
    return false;
    }

    bool Memoria( void * pDest, char * szPatch, size_t sSize )
    {
    DWORD dwOrgProtect = NULL;
    if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
    return FALSE;

    memcpy( pDest, szPatch, sSize );
    VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
    return TRUE;
    }

    //---------------------------------------------------------------------------------
    //---------------------------------------------------------------------------------

    bool __stdcall DllMain(HINSTANCE hInst,DWORD reas,void* reserved)
    {
    while(GameReady() != 1)
    {
    Sleep(100);
    }
    Push("ShowFps 1"); //fps
    Push("ActivationDistance 9001"); //far reach, its over 9000
    Push("FogEnable 1"); //nofog
    Push("SkelModelStencil 1"); //nx chams
    //Spped
    Push("BaseMoveAccel 3000.000000");
    Push("StartAccel 560.000000");
    Push("MaxAccel 3000.000000");
    Push("AccelInc 6000.000000");
    Push("WalkVel 110.000000");
    Push("FRunVel 320.000000");
    Push("BRunVel 320.000000");
    Push("SRunVel 320.000000");
    Push("DuckVel 100.000000");
    //no recoil, ty flameswor
    Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL2), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL3), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL4), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL5), "\x90\x90\x90", 3);
    //no spread
    Push("PerturbRotationEffect 0.000000" );
    Push("PerturbIncreaseSpeed 0.000000" );
    Push("PerturbWalkPercent 0.000000" );
    Push("PerturbFiringIncreaseSpeed 0.000000" );
    Push("PerturbRecoil 0.000000" );
    Push("FireMovePerturb 0.000000" );
    Push("ZoomedFireMoveDuckPerturb 0.000000" );
    Push("ZoomedFireMovePerturb 0.000000" );
    Push("ZoomedFireDuckPerturb 0.000000" );
    //nosway
    Push("WeaponSway 0.000000" );
    }






    [/PHP]

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  2. #2
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,512
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    You need to call the hacks and start the dll

  3. #3
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,067
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Lol is that your whole Hack, its missing a few things, like the start of the dll -.-


    Edit: yea what deathninjak said
    Dont ban me

  4. #4
    LightzOut's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    185
    Reputation
    11
    Thanks
    25
    I don't even want to help you with this.. too basic.

    But fuck it.

    In your dllmain create a thread named w.e. you want, then make a method that checks if the IsGameReadyForHook function is true, and when it is call another method (your choice of name) and put your hack loop there.

  5. #5
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,040
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    i was just curious about making hacks /

    just wanted to see what it's like.

    i dont know any winapi other than simple stuff

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  6. #6
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,512
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    Also, this is wrong section too.

  7. #7
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,040
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    ok, hows this.

    [php]#include <windows.h>

    #define RECOIL1 0x3745BC20 //flameswor told me in VM, ty ^^
    #define RECOIL2 0x372315E9
    #define RECOIL3 0x3745BC34
    #define RECOIL4 0x3745BC37
    #define RECOIL5 0x3745BC40

    //----------------------------------------------------------------------------
    //----------------------------------------------------------------------------

    void __cdecl Push(const char* pushCommand)
    {
    DWORD *LTClient = (DWORD*)(0x377ED910);
    void* CONoff = (void*)*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push pushCommand;
    call CONoff;
    add esp, 4;
    }
    }

    bool Memoria( void * pDest, char * szPatch, size_t sSize )
    {
    DWORD dwOrgProtect = NULL;
    if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
    return FALSE;

    memcpy( pDest, szPatch, sSize );
    VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
    return TRUE;
    }

    bool GameReady()
    {
    if(GetModuleHandleA("d3d9.dll")!=NULL && GetModuleHandleA("ClientFX.fxd")!=NULL && GetModuleHandleA("CShell.dll")!=NULL)
    return true;
    return false;
    }

    void hacks()
    {
    while(GameReady() != 1)
    {
    Sleep(100);
    }
    while(GameReady() == 1)
    {
    while(true)
    {

    bool chams = false;
    bool speed = false;
    bool recoil = false;
    bool spread = false;
    Push("ShowFps 1"); //fps
    Push("ActivationDistance 9001"); //far reach, its over 9000
    Push("FogEnable 1"); //nofog
    Push("WeaponSway 0.000000" );
    if(GetAsyncKeyState(VK_NUMPAD0)<0)
    {
    if(chams)
    {
    Push("SkelModelStencil 0");
    chams = false;
    }
    else
    {
    Push("SkelModelStencil 1");
    chams = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD1)<0)
    {
    if(speed)
    {
    Push("BaseMoveAccel 3000.000000");
    Push("StartAccel 500.000000");
    Push("MaxAccel 3000.000000");
    Push("AccelInc 6000.000000");
    Push("WalkVel 70.000000");
    Push("FRunVel 285.000000");
    Push("BRunVel 285.000000");
    Push("SRunVel 285.000000");
    Push("DuckVel 50.000000");

    speed = false;
    }

    else
    {
    Push("BaseMoveAccel 3000.000000");
    Push("StartAccel 560.000000");
    Push("MaxAccel 3000.000000");
    Push("AccelInc 6000.000000");
    Push("WalkVel 110.000000");
    Push("FRunVel 320.000000");
    Push("BRunVel 320.000000");
    Push("SRunVel 320.000000");
    Push("DuckVel 100.000000");

    speed = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD2)<0)
    {
    if(recoil)
    {
    Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
    Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
    Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
    Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
    Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);

    recoil = false;
    }

    else
    {
    //no recoil, ty flameswor
    Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL2), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL3), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL4), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL5), "\x90\x90\x90", 3);

    recoil = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD3)<0)
    {
    //no spread
    Push("PerturbRotationEffect 0.000000" );
    Push("PerturbIncreaseSpeed 0.000000" );
    Push("PerturbWalkPercent 0.000000" );
    Push("PerturbFiringIncreaseSpeed 0.000000" );
    Push("PerturbRecoil 0.000000" );
    Push("FireMovePerturb 0.000000" );
    Push("ZoomedFireMoveDuckPerturb 0.000000" );
    Push("ZoomedFireMovePerturb 0.000000" );
    Push("ZoomedFireDuckPerturb 0.000000" );

    spread = true;
    }

    }
    }
    }


    BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpReserved)
    {
    switch( fdwReason )
    {
    case DLL_PROCESS_ATTACH:
    MessageBoxA(NULL,"Injected","",MB_OK);
    hacks();
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
    break;
    }
    return TRUE;
    }
    [/php]

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  8. #8
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,035
    Reputation
    340
    Thanks
    2,784
    My Mood
    Sad
    This is in the wrong section, by the way.

  9. #9
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,040
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    Quote Originally Posted by freedompeace View Post
    This is in the wrong section, by the way.
    Already stated.
    Actually, it relates to combat arms source /

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  10. #10
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,512
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    Quote Originally Posted by Kallisti View Post
    ok, hows this.

    [php]#include <windows.h>

    #define RECOIL1 0x3745BC20 //flameswor told me in VM, ty ^^
    #define RECOIL2 0x372315E9
    #define RECOIL3 0x3745BC34
    #define RECOIL4 0x3745BC37
    #define RECOIL5 0x3745BC40

    //----------------------------------------------------------------------------
    //----------------------------------------------------------------------------

    void __cdecl Push(const char* pushCommand)
    {
    DWORD *LTClient = (DWORD*)(0x377ED910);
    void* CONoff = (void*)*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push pushCommand;
    call CONoff;
    add esp, 4;
    }
    }

    bool Memoria( void * pDest, char * szPatch, size_t sSize )
    {
    DWORD dwOrgProtect = NULL;
    if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
    return FALSE;

    memcpy( pDest, szPatch, sSize );
    VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
    return TRUE;
    }

    bool GameReady()
    {
    if(GetModuleHandleA("d3d9.dll")!=NULL && GetModuleHandleA("ClientFX.fxd")!=NULL && GetModuleHandleA("CShell.dll")!=NULL)
    return true;
    return false;
    }

    void hacks()
    {
    while(GameReady() != 1)
    {
    Sleep(100);
    }
    while(GameReady() == 1)
    {
    while(true)
    {

    bool chams = false;
    bool speed = false;
    bool recoil = false;
    bool spread = false;
    Push("ShowFps 1"); //fps
    Push("ActivationDistance 9001"); //far reach, its over 9000
    Push("FogEnable 1"); //nofog
    Push("WeaponSway 0.000000" );
    if(GetAsyncKeyState(VK_NUMPAD0)<0)
    {
    if(chams)
    {
    Push("SkelModelStencil 0");
    chams = false;
    }
    else
    {
    Push("SkelModelStencil 1");
    chams = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD1)<0)
    {
    if(speed)
    {
    Push("BaseMoveAccel 3000.000000");
    Push("StartAccel 500.000000");
    Push("MaxAccel 3000.000000");
    Push("AccelInc 6000.000000");
    Push("WalkVel 70.000000");
    Push("FRunVel 285.000000");
    Push("BRunVel 285.000000");
    Push("SRunVel 285.000000");
    Push("DuckVel 50.000000");

    speed = false;
    }

    else
    {
    Push("BaseMoveAccel 3000.000000");
    Push("StartAccel 560.000000");
    Push("MaxAccel 3000.000000");
    Push("AccelInc 6000.000000");
    Push("WalkVel 110.000000");
    Push("FRunVel 320.000000");
    Push("BRunVel 320.000000");
    Push("SRunVel 320.000000");
    Push("DuckVel 100.000000");

    speed = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD2)<0)
    {
    if(recoil)
    {
    Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
    Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
    Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
    Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
    Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);

    recoil = false;
    }

    else
    {
    //no recoil, ty flameswor
    Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL2), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL3), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL4), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL5), "\x90\x90\x90", 3);

    recoil = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD3)<0)
    {
    //no spread
    Push("PerturbRotationEffect 0.000000" );
    Push("PerturbIncreaseSpeed 0.000000" );
    Push("PerturbWalkPercent 0.000000" );
    Push("PerturbFiringIncreaseSpeed 0.000000" );
    Push("PerturbRecoil 0.000000" );
    Push("FireMovePerturb 0.000000" );
    Push("ZoomedFireMoveDuckPerturb 0.000000" );
    Push("ZoomedFireMovePerturb 0.000000" );
    Push("ZoomedFireDuckPerturb 0.000000" );

    spread = true;
    }

    }
    }
    }


    BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpReserved)
    {
    switch( fdwReason )
    {
    case DLL_PROCESS_ATTACH:
    MessageBoxA(NULL,"Injected","",MB_OK);
    hacks();
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
    break;
    }
    return TRUE;
    }
    [/php]
    Code:
    DWORD WINAPI dwHackThread(LPVOID)//calling the hack
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    Hacks ();
    
    
    return 0;
    }
    Code:
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )//starting the dll
    {
    DisableThreadLibraryCalls(hDll);
    
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    	CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    	CreateThread(NULL, NULL, OPK, NULL, NULL, NULL);
    
    }

  11. #11
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,040
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    then hows this?
    compiles fine /

    [php]#include <windows.h>

    #define RECOIL1 0x3745BC20 //flameswor told me in VM, ty ^^
    #define RECOIL2 0x372315E9
    #define RECOIL3 0x3745BC34
    #define RECOIL4 0x3745BC37
    #define RECOIL5 0x3745BC40

    //----------------------------------------------------------------------------
    //----------------------------------------------------------------------------

    void __cdecl Push(const char* pushCommand)
    {
    DWORD *LTClient = (DWORD*)(0x377ED910);
    void* CONoff = (void*)*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push pushCommand;
    call CONoff;
    add esp, 4;
    }
    }

    bool Memoria( void * pDest, char * szPatch, size_t sSize )
    {
    DWORD dwOrgProtect = NULL;
    if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
    return FALSE;

    memcpy( pDest, szPatch, sSize );
    VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
    return TRUE;
    }

    bool GameReady()
    {
    if(GetModuleHandleA("d3d9.dll")!=NULL && GetModuleHandleA("ClientFX.fxd")!=NULL && GetModuleHandleA("CShell.dll")!=NULL)
    return true;
    return false;
    }

    void hacks()
    {
    while(true)
    {

    bool chams = false;
    bool speed = false;
    bool recoil = false;
    bool spread = false;
    Push("ShowFps 1"); //fps
    Push("ActivationDistance 9001"); //far reach, its over 9000
    Push("FogEnable 1"); //nofog
    Push("WeaponSway 0.000000" );
    if(GetAsyncKeyState(VK_NUMPAD0)<0)
    {
    if(chams)
    {
    Push("SkelModelStencil 0");
    chams = false;
    }
    else
    {
    Push("SkelModelStencil 1");
    chams = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD1)<0)
    {
    if(speed)
    {
    Push("BaseMoveAccel 3000.000000");
    Push("StartAccel 500.000000");
    Push("MaxAccel 3000.000000");
    Push("AccelInc 6000.000000");
    Push("WalkVel 70.000000");
    Push("FRunVel 285.000000");
    Push("BRunVel 285.000000");
    Push("SRunVel 285.000000");
    Push("DuckVel 50.000000");

    speed = false;
    }

    else
    {
    Push("BaseMoveAccel 3000.000000");
    Push("StartAccel 560.000000");
    Push("MaxAccel 3000.000000");
    Push("AccelInc 6000.000000");
    Push("WalkVel 110.000000");
    Push("FRunVel 320.000000");
    Push("BRunVel 320.000000");
    Push("SRunVel 320.000000");
    Push("DuckVel 100.000000");

    speed = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD2)<0)
    {
    if(recoil)
    {
    Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
    Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
    Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
    Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
    Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);

    recoil = false;
    }

    else
    {
    //no recoil, ty flameswor
    Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL2), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL3), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL4), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL5), "\x90\x90\x90", 3);

    recoil = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD3)<0)
    {
    //no spread
    Push("PerturbRotationEffect 0.000000" );
    Push("PerturbIncreaseSpeed 0.000000" );
    Push("PerturbWalkPercent 0.000000" );
    Push("PerturbFiringIncreaseSpeed 0.000000" );
    Push("PerturbRecoil 0.000000" );
    Push("FireMovePerturb 0.000000" );
    Push("ZoomedFireMoveDuckPerturb 0.000000" );
    Push("ZoomedFireMovePerturb 0.000000" );
    Push("ZoomedFireDuckPerturb 0.000000" );

    spread = true;
    }


    }
    }

    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !GameReady() )
    Sleep(100);
    hacks();


    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);
    }

    }[/php]

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  12. #12

  13. #13
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    My Mood
    Flirty
    Quote Originally Posted by Kallisti View Post
    then hows this?
    compiles fine /

    [php]#include <windows.h>

    #define RECOIL1 0x3745BC20 //flameswor told me in VM, ty ^^
    #define RECOIL2 0x372315E9
    #define RECOIL3 0x3745BC34
    #define RECOIL4 0x3745BC37
    #define RECOIL5 0x3745BC40

    //----------------------------------------------------------------------------
    //----------------------------------------------------------------------------

    void __cdecl Push(const char* pushCommand)
    {
    DWORD *LTClient = (DWORD*)(0x377ED910);
    void* CONoff = (void*)*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push pushCommand;
    call CONoff;
    add esp, 4;
    }
    }

    bool Memoria( void * pDest, char * szPatch, size_t sSize )
    {
    DWORD dwOrgProtect = NULL;
    if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
    return FALSE;

    memcpy( pDest, szPatch, sSize );
    VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
    return TRUE;
    }

    bool GameReady()
    {
    if(GetModuleHandleA("d3d9.dll")!=NULL && GetModuleHandleA("ClientFX.fxd")!=NULL && GetModuleHandleA("CShell.dll")!=NULL)
    return true;
    return false;
    }

    void hacks()
    {
    while(true)
    {

    bool chams = false;
    bool speed = false;
    bool recoil = false;
    bool spread = false;
    Push("ShowFps 1"); //fps
    Push("ActivationDistance 9001"); //far reach, its over 9000
    Push("FogEnable 1"); //nofog
    Push("WeaponSway 0.000000" );
    if(GetAsyncKeyState(VK_NUMPAD0)<0)
    {
    if(chams)
    {
    Push("SkelModelStencil 0");
    chams = false;
    }
    else
    {
    Push("SkelModelStencil 1");
    chams = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD1)<0)
    {
    if(speed)
    {
    Push("BaseMoveAccel 3000.000000");
    Push("StartAccel 500.000000");
    Push("MaxAccel 3000.000000");
    Push("AccelInc 6000.000000");
    Push("WalkVel 70.000000");
    Push("FRunVel 285.000000");
    Push("BRunVel 285.000000");
    Push("SRunVel 285.000000");
    Push("DuckVel 50.000000");

    speed = false;
    }

    else
    {
    Push("BaseMoveAccel 3000.000000");
    Push("StartAccel 560.000000");
    Push("MaxAccel 3000.000000");
    Push("AccelInc 6000.000000");
    Push("WalkVel 110.000000");
    Push("FRunVel 320.000000");
    Push("BRunVel 320.000000");
    Push("SRunVel 320.000000");
    Push("DuckVel 100.000000");

    speed = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD2)<0)
    {
    if(recoil)
    {
    Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
    Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
    Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
    Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
    Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);

    recoil = false;
    }

    else
    {
    //no recoil, ty flameswor
    Memoria((LPVOID)(RECOIL1), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL2), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL3), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL4), "\x90\x90\x90", 3);
    Memoria((LPVOID)(RECOIL5), "\x90\x90\x90", 3);

    recoil = true;
    }
    }

    if(GetAsyncKeyState(VK_NUMPAD3)<0)
    {
    //no spread
    Push("PerturbRotationEffect 0.000000" );
    Push("PerturbIncreaseSpeed 0.000000" );
    Push("PerturbWalkPercent 0.000000" );
    Push("PerturbFiringIncreaseSpeed 0.000000" );
    Push("PerturbRecoil 0.000000" );
    Push("FireMovePerturb 0.000000" );
    Push("ZoomedFireMoveDuckPerturb 0.000000" );
    Push("ZoomedFireMovePerturb 0.000000" );
    Push("ZoomedFireDuckPerturb 0.000000" );

    spread = true;
    }


    }
    }

    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !GameReady() )
    Sleep(100);
    hacks();


    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);
    }

    }[/php]

    That looks okay.

  14. #14
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,040
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    1.This is source?
    2.I've been banned so many times it doesn't bother me at all.

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  15. #15
    AVGN's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Making America Great Again.
    Posts
    15,451
    Reputation
    1549
    Thanks
    6,234
    /moved to help :/



    ^Thanks to RJ^




Page 1 of 3 123 LastLast

Similar Threads

  1. [Solved] Vindictus doesn't load with any injector
    By Vindicator209 in forum Vindictus Help
    Replies: 5
    Last Post: 09-12-2011, 07:55 PM
  2. [Help Request] When i run Portal Doesn't work?
    By fisherblue23 in forum Combat Arms Help
    Replies: 6
    Last Post: 08-28-2011, 05:43 PM
  3. [Help] Doesn't load...
    By /b/oss in forum Battlefield Play4Free Hacks
    Replies: 9
    Last Post: 04-11-2011, 04:07 PM
  4. Injecters Patched? or Engine
    By Killerskillz in forum Combat Arms Hacks & Cheats
    Replies: 10
    Last Post: 08-15-2009, 08:09 AM
  5. wont inject in engine.exe anymore!?
    By GibsonRocks231 in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 08-04-2009, 03:10 AM