google-site-verification: googlebaca44933768a824.html [DOD:S BETA/new Engine] visual no recoil - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

[DOD:S BETA/new Engine] visual no recoil

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [DOD:S BETA/new Engine] visual no recoil

    Hi. :wheelchair:

    Code:
    /*
    111D1C86   5F               POP EDI
    111D1C87   5E               POP ESI
    111D1C88   83C4 18          ADD ESP,18
    111D1C8B   C3               RETN
    111D1C8C   5F               POP EDI
    111D1C8D   5E               POP ESI
    111D1C8E   83C4 18          ADD ESP,18
    111D1C91  ^E9 8AF7FFFF      JMP client.111D1420
    */
    
    DWORD dwSetViewAnglesReturnAddress = FindPattern( (DWORD)GetModuleHandle( "client" ), 
    			0x300000, 
    			(BYTE*)"x5Fx5Ex83xC4x18xC3x5Fx5Ex83xC4x18xE9x8AxF7xFFxFF", 
    			"xxxxxxxxxxxx????" );
    
    __declspec(naked) unsigned int _ReturnAddress()
    {
        __asm
        {
            mov eax, [ebp+4];
            ret;
        }
    }
    
    void __stdcall new_SetViewAngles( QAngle &va )
    {
    	if( _ReturnAddress() == /*For old DOD:S it's 0x241B7C37 ( static ) for the new engine its dynamic*/dwSetViewAnglesReturnAddress )
    		return;
    
           /*the following steps depends on hooking method*/
           //remove your hook
    	gDrxHook.SetViewAnglesBreakpoint( false );
            //call the original function
    	gEngine.SetViewAngles( va );
            //rehook
    	gDrxHook.SetViewAnglesBreakpoint( true );
    
            //or simply call the original func w/o removing teh hookz
    }
    bai.
    I 0x90 you!

    #2
    <3 l33b coder

    Originally posted by Dead
    8 digit steam acount willing to trade for any steam acount that everey one knows as a hacker lmao or BANNED ON ALOT OF SERVERS.

    made by kimmi

    Comment


      #3
      Originally posted by Om1 View Post
      <3 l33b coder
      nawww 1 c&p 0nly!!1:smiley_416:
      I 0x90 you!

      Comment


        #4
        cute hehe:1wub:






        gibs coins @
        1KatP9B8KG7mvcoFhdLGua1isG88nYZE8C

        Comment


          #5
          Originally posted by aVitamin View Post
          nawww 1 c&p 0nly!!1:smiley_416:
          <3 my fav. l33b c+p'er :1tt1::blushing:

          Originally posted by Dead
          8 digit steam acount willing to trade for any steam acount that everey one knows as a hacker lmao or BANNED ON ALOT OF SERVERS.

          made by kimmi

          Comment


            #6
            Originally posted by Om1 View Post
            <3 my fav. l33b c+p'er :1tt1::blushing:
            m0r3 l0v3 f0r m3h !1 :o
            I 0x90 you!

            Comment


              #7
              i don't want to be banned !

              I apologize

              Thanks for the share of the code, aVitamin. Ill have a look into it tomorrow.
              Last edited by Om1; 05-27-2008, 10:23 PM.

              Originally posted by Dead
              8 digit steam acount willing to trade for any steam acount that everey one knows as a hacker lmao or BANNED ON ALOT OF SERVERS.

              made by kimmi

              Comment


                #8
                aVitamin rulz he is so leet omg :1wub:
                thx for share ^^

                Helo

                Comment


                  #9
                  Re: [DOD:S BETA/new Engine] visual no recoil

                  to bump this epic thread,
                  css beta visual no-recoil.

                  credits:
                  j1gs4w for the addresses

                  Code:
                  
                  void plugdrawing::patch_visual_recoil()
                  {
                    // j1gs4w
                    // base = 148C0000
                    // 
                    // 148DA7EE     D886 940D0000       FADD DWORD PTR DS:[ESI+D94]
                    // 148DA7F4     D91F                FSTP DWORD PTR DS:[EDI]
                    // 148DA7F6     D986 980D0000       FLD DWORD PTR DS:[ESI+D98]
                    // 148DA7FC     D847 04             FADD DWORD PTR DS:[EDI+4]
                    // 148DA7FF     D95F 04             FSTP DWORD PTR DS:[EDI+4]
                    // 148DA802     D986 9C0D0000       FLD DWORD PTR DS:[ESI+D9C]
                    // 148DA808     D847 08             FADD DWORD PTR DS:[EDI+8]
                    // 148DA80B     D95F 08             FSTP DWORD PTR DS:[EDI+8]
                    // 
                    // x = 148DA7EE
                    // y = 148DA7F6
                    // 
                    // x = base + 1A7EE
                    // y = base + 1A7F6
                    // 
                  
                    // czkb
                    static byte bak_x = 0x94;
                    static byte bak_y = 0x98;
                    static byte bak_z = 0x9C;
                  
                    static dword baseme = (dword)GetModuleHandleA("client.dll");
                    static dword      x = (dword)baseme + 0x1A7EE + 2;
                    static dword      y = (dword)baseme + 0x1A7F6 + 2;
                  
                    static bool been_patch = false;
                    if ( m_pCvars->aim_norecoil->GetBool() )
                    {
                      if ( !been_patch )
                      {
                        /*m_pExport->_memory->secured_*/memset((void*)x,bak_z,1);
                        /*m_pExport->_memory->secured_*/memset((void*)y,bak_z,1);
                        been_patch = true;
                      }
                    } 
                    else
                    {
                      if ( been_patch )
                      {
                        /*m_pExport->_memory->secured_*/memset((void*)x,bak_x,1);
                        /*m_pExport->_memory->secured_*/memset((void*)y,bak_y,1);
                        been_patch = false;
                      }
                    }
                  }
                  have fun






                  gibs coins @
                  1KatP9B8KG7mvcoFhdLGua1isG88nYZE8C

                  Comment


                    #10
                    Re: [DOD:S BETA/new Engine] visual no recoil

                    thank you

                    Comment

                    Working...
                    X