Results 1 to 3 of 3
  1. #1
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693

    How to add norecoil to my hack?

    This is my code how do i add it. like this??? But it says Memoria not identified. So im confused i havent learned c++ fully this is just practice.So please help


    #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 )
    {

    DWORD *LTClient = ( DWORD* )( 0x3778CFB0 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    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;
    /************************************************

    (Is this were i put it)

    void main()
    {
    bool norecoil = false;
    while(true)
    {
    if(GetAsyncKeyState(VK_SUBTRACT) < 0){
    norecoil = !norecoil;
    if (norecoil)
    Memoria((LPVOID) (0x3741B315) ,0x90, 0x90, 0x90, 3);
    Memoria((LPVOID) (0x3741B550) ,0x90, 0x90, 0x90, 3);
    Memoria((LPVOID) (0x3741B564) ,0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 6);
    Memoria((LPVOID) (0x3741B570) ,0x90, 0x90, 0x90, 3);

    }else{
    Memoria((LPVOID) (0x3741B315),0xD9, 0x46, 0x54, 3);
    Memoria((LPVOID) (0x3741B550) ,0xD8, 0x66, 0x54, 3);
    Memoria((LPVOID) (0x3741B564) ,0xD9, 0x5E, 0x54, 0xD9, 0x46, 0x48, 6);
    Memoria((LPVOID) (0x3741B570) ,0xD9, 0x5E, 0x48, 3);

    }


    Sleep(50);
    }
    }







    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL APIENTRY DllMain( HMODULE hModule,
    DWORD ul_reason_for_call,
    LPVOID lpReserved
    )
    {
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
    MessageBox (0, TEXT("Coded by: Zane!"), TEXT("Zane Simple Hack"), MB_ICONINFORMATION);

    CreateThread(0, 0, (LPTHREAD_START_ROUTINE)dwHackThread, 0, 0, 0);
    break;
    case DLL_PROCESS_DETACH:
    break;
    }
    return true;

    }

  2. #2
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,561
    Reputation
    127
    Thanks
    5,912
    My Mood
    Happy
    Define memoria /FP

    [php]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;
    }[/php]
    -Rest in peace leechers-

    Your PM box is 100% full.

  3. #3
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Were do i put it because i get this error!

    1>c:\documents and settings\stephen\my documents\visual studio 2008\projects\zanehotkeyhack.dll\zanehotkeyhack.dl l\base.cpp(45) : error C2660: 'Memoria' : function does not take 5 arguments
    1>c:\documents and settings\stephen\my documents\visual studio 2008\projects\zanehotkeyhack.dll\zanehotkeyhack.dl l\base.cpp(46) : error C2660: 'Memoria' : function does not take 5 arguments
    1>c:\documents and settings\stephen\my documents\visual studio 2008\projects\zanehotkeyhack.dll\zanehotkeyhack.dl l\base.cpp(47) : error C2660: 'Memoria' : function does not take 8 arguments
    1>c:\documents and settings\stephen\my documents\visual studio 2008\projects\zanehotkeyhack.dll\zanehotkeyhack.dl l\base.cpp(48) : error C2660: 'Memoria' : function does not take 5 arguments
    1>c:\documents and settings\stephen\my documents\visual studio 2008\projects\zanehotkeyhack.dll\zanehotkeyhack.dl l\base.cpp(50) : error C2660: 'Memoria' : function does not take 5 arguments
    1>c:\documents and settings\stephen\my documents\visual studio 2008\projects\zanehotkeyhack.dll\zanehotkeyhack.dl l\base.cpp(51) : error C2660: 'Memoria' : function does not take 5 arguments
    1>c:\documents and settings\stephen\my documents\visual studio 2008\projects\zanehotkeyhack.dll\zanehotkeyhack.dl l\base.cpp(52) : error C2660: 'Memoria' : function does not take 8 arguments
    1>c:\documents and settings\stephen\my documents\visual studio 2008\projects\zanehotkeyhack.dll\zanehotkeyhack.dl l\base.cpp(53) : error C2660: 'Memoria' : function does not take 5 arguments

Similar Threads

  1. [TuT]How add chams in your hack - by jakub999
    By TheJakub999 in forum C++/C Programming
    Replies: 13
    Last Post: 12-15-2009, 09:36 AM
  2. How to add an attachment file and how to make CA hacks.
    By Klumzy in forum Programming Tutorial Requests
    Replies: 2
    Last Post: 07-15-2009, 01:52 PM
  3. how can add farfog in my hack??
    By spartacchio in forum C++/C Programming
    Replies: 9
    Last Post: 04-23-2008, 03:30 PM
  4. How to add Winchester hack to my hack ?? (VB6)
    By floris12345! in forum Visual Basic Programming
    Replies: 7
    Last Post: 01-04-2008, 07:19 AM
  5. How do i add hotkeys to my hack (VB6) ??
    By floris12345! in forum Visual Basic Programming
    Replies: 1
    Last Post: 01-04-2008, 06:29 AM