Results 1 to 8 of 8
  1. #1
    TayxPwnage's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    0

    [Noob] Help adding no recoil

    I'm working on just making a little hack for myself to use..and I got no idea how to add no recoil to my simple NX chams hack.. this is the code
    Credits to CoderNever for his tutorial

    Code:
    #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* )( 0x377E7810 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }	
    void main()
    {
    while(true)
    {	
    PushToConsole("SkelModelStencil -1" );
    }
    }
    DWORD WINAPI HackThread(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, HackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }

  2. #2
    Deathninja's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    s
    Posts
    85
    Reputation
    10
    Thanks
    21
    You NOP the addies and then put it in the void main
    I am deathninjak0.

  3. #3
    TayxPwnage's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    0
    Ok so I got the addies from Bloods thread..
    Credits to Braco22:

    No Recoil:
    0x3737EE23
    0x3745B7D1
    0x3745B7D4
    0x3745B7E0

    How To Use:

    Code:
    bool Memoria( void * pDest, char * szPatch, size_t sSize )//NOP Function
    { 
        DWORD dwOrgProtect = NULL; 
    	if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
    		return FALSE;
    
        memcpy( pDest, szPatch, sSize ); 
        VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
        return TRUE; 
    }
    No Recoil On:

    Code:
    Memoria((LPVOID) (0x3737EE23), "\x90\x90\x90", 3);
    Memoria((LPVOID) (0x3745B7D1), "\x90\x90\x90", 3);
    Memoria((LPVOID) (0x3745B7E0), "\x90\x90\x90", 3);
    Memoria((LPVOID) (0x3745B7D4), "\x90\x90\x90\x90\x90\x90", 6);
    Honestly I got no idea what to do..im sort of trying to learn as I go.. /

  4. #4
    GameTrainerMaker's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    465
    Reputation
    17
    Thanks
    514
    Code:
    #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* )( 0x377E7810 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }	
    void main()
    {
    while(true)
    bool ass = false;
    {	
    PushToConsole("SkelModelStencil -1" );
    
    if(GetAsyncKeyState(VK_NUMPAD1) > 0)
    			memcpy((LPVOID) (0x3745BC37), "\x90\x90\x90", 3);
    			memcpy((LPVOID) (0x3744BDE0), "\x90\x90\x90", 3);
    			memcpy((LPVOID) (0x3745BC34), "\x90\x90\x90", 3);
    			memcpy((LPVOID) (0x3745BC40), "\x90\x90\x90", 3);
                            ass = true;
    		else
    			memcpy((LPVOID) (0x3745BC37), "\xD8\x46\x48", 3);
    			memcpy((LPVOID) (0x3744BDE0), "\xD8\x46\x54", 3);//
    			memcpy((LPVOID) (0x3745BC34), "\xD9\x5E\x54", 3);//
    			memcpy((LPVOID) (0x3745BC40), "\xD8\x66\x54", 3);// 
                            ass = false;
    
    Sleep(200)
    
    }
    }
    DWORD WINAPI HackThread(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, HackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    Added it in there for ya. just C&P the code. any error's let me no!

  5. #5
    Deathninja's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    s
    Posts
    85
    Reputation
    10
    Thanks
    21
    Don't worry about memoria...I think its for reducing the lag..

    Code:
    #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* )( 0x377E7810 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }	
    void main()
    {
    while(true)
    {	
    PushToConsole("SkelModelStencil -1" );
    memcpy((LPVOID) (0x3737EE23), "\x90\x90\x90", 3);
    memcpy((LPVOID) (0x3745B7D1), "\x90\x90\x90", 3);
    memcpy((LPVOID) (0x3745B7E0), "\x90\x90\x90", 3);
    memcpy((LPVOID) (0x3745B7D4), "\x90\x90\x90\x90\x90\x90", 6);
    }
    }
    DWORD WINAPI HackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    Fixed it for you.
    I am deathninjak0.

  6. #6
    TayxPwnage's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    0
    I see what you did thurr trainer
    Death I get one error says : end of file found before the left brace '{'

  7. #7
    GameTrainerMaker's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    465
    Reputation
    17
    Thanks
    514

  8. #8
    Deathninja's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    s
    Posts
    85
    Reputation
    10
    Thanks
    21
    I was just showing you where to put it, just an example. I didn't actually test it out.
    I am deathninjak0.

Similar Threads

  1. help making no recoil no spread hack for warrock using VB '08 express
    By cole32547 in forum Programming Tutorial Requests
    Replies: 0
    Last Post: 09-16-2009, 09:42 PM
  2. Noob Help
    By chrisisafoo in forum Art & Graphic Design
    Replies: 14
    Last Post: 07-02-2009, 09:54 PM
  3. noob help
    By santosDOOM in forum Suggestions, Requests & Help
    Replies: 4
    Last Post: 01-02-2009, 09:36 AM
  4. [HELP] need help by no recoil/spread
    By erwin0003 in forum Visual Basic Programming
    Replies: 11
    Last Post: 09-28-2007, 08:11 PM
  5. help with no recoil
    By ballin22 in forum WarRock Korea Hacks
    Replies: 2
    Last Post: 05-21-2007, 04:49 PM