Results 1 to 5 of 5
  1. #1
    povre's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    everywhere in the sewers
    Posts
    71
    Reputation
    10
    Thanks
    700
    My Mood
    Hungover

    no spread and no recoil

    hi guys i got a source code for the no spread and the no recoil , im too lazy to do all the hack but i will give you the source

    dont forget to add me in the credits and hit rep button

     

    #include <Windows.h>

    void* g_pOriginalGetRecoil=NULL;
    void* g_pOriginalGetDeviation=NULL;
    void** g_pGetRecoilVTableAddress=(void**)0x020FA644;
    void** g_pGetDeviationVTableAddress=(void**)0x020FA640;


    void __declspec(naked) hkGetRecoil(void)
    {
    __asm
    {
    xor eax, eax
    mov [ecx+0x164], eax
    mov [ecx+0x16C], eax
    jmp dword ptr[g_pOriginalGetRecoil]
    }
    }


    void __declspec(naked) hkGetDeviation(void)
    {
    __asm
    {
    xor eax, eax
    mov [ecx+0x140], eax
    mov [ecx+0x13C], eax
    jmp dword ptr[g_pOriginalGetDeviation]
    }
    }

    unsigned long __stdcall HookThread(void* param)
    {
    unsigned long flOldProtection;
    if((int)param==1) //Enable Hook
    {
    if(!g_pOriginalGetDeviation)
    g_pOriginalGetDeviation=*g_pGetDeviationVTableAddr ess; //Backing up Original Functions
    if(!g_pOriginalGetRecoil)
    g_pOriginalGetRecoil=*g_pGetRecoilVTableAddress;

    if(VirtualProtect(g_pGetDeviationVTableAddress,8,P AGE_READWRITE,&flOldProtection)) //Removing memory protection
    {
    *g_pGetDeviationVTableAddress=hkGetDeviation; //Swapping VTable Pointers
    *g_pGetRecoilVTableAddress=hkGetRecoil;
    return VirtualProtect(g_pGetDeviationVTableAddress,8,flOl dProtection,&flOldProtection); //Readding normal memory protection
    }
    else
    {
    return 0;
    }
    }
    else //Disable Hook
    {
    if(VirtualProtect(g_pGetDeviationVTableAddress,8,P AGE_READWRITE,&flOldProtection)) //Removing memory protection
    {
    *g_pGetDeviationVTableAddress=g_pOriginalGetDeviat ion; //Setting VTable pointers back to original ones
    *g_pGetRecoilVTableAddress=g_pOriginalGetRecoil;
    return VirtualProtect(g_pGetDeviationVTableAddress,8,flOl dProtection,&flOldProtection); //Readding normal memory protection
    }
    else
    {
    return 0;
    }
    }
    return 1;
    }


    unsigned long __stdcall DllMain(HMODULE hModule, unsigned long ulReason, void* param)
    {
    if(ulReason==DLL_PROCESS_ATTACH)
    {
    CloseHandle(CreateThread(NULL,0,&HookThread,(void* )1,0,NULL)); //Enable hook
    }
    else if(ulReason==DLL_PROCESS_DETACH)
    {
    CloseHandle(CreateThread(NULL,0,&HookThread,NULL,0 ,NULL)); //Disable hook
    }
    return 1;
    }
    d'ont forget to add to rep' if i helped
    you can thanks me its free













    <------ at the bottom on your left there is a button next to the report button who serves to add reputation, do not forget to press it if you liked my post

  2. #2
    Densiu's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    how use a source code please ?

  3. #3
    mhmdhajali's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    77
    Reputation
    10
    Thanks
    1,762
    My Mood
    Cold
    Please Can You Tell Me Where To Put This...Thx

  4. #4
    FrickAss's Avatar
    Join Date
    Apr 2010
    Gender
    female
    Posts
    9
    Reputation
    10
    Thanks
    1
    Boooooooo!

  5. #5
    apcac's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Chicago
    Posts
    25
    Reputation
    10
    Thanks
    39
    My Mood
    Relaxed
    Quote Originally Posted by mhmdhajali View Post
    Please Can You Tell Me Where To Put This...Thx
    make a dll file with c++

Similar Threads

  1. [Solved] Can Anyone make a no spread and no recoil hack????
    By theionutz in forum Alliance of Valiant Arms (AVA) Help
    Replies: 5
    Last Post: 02-27-2013, 06:38 AM
  2. Simple no spread and no recoil hack + injector suggestions
    By BaconStripMan423 in forum Combat Arms Hack Requests
    Replies: 1
    Last Post: 12-02-2012, 04:05 AM
  3. No Spread and No Recoil?
    By blakjak02 in forum Combat Arms Help
    Replies: 10
    Last Post: 12-18-2009, 01:23 PM
  4. No Spread and No Recoil?
    By Haris in forum Combat Arms Help
    Replies: 5
    Last Post: 09-15-2009, 05:15 PM
  5. Any Got Visual Basic Swim in air Pointer and No recoil and No spread??
    By Redbull in forum WarRock - International Hacks
    Replies: 0
    Last Post: 08-26-2007, 05:53 AM