Royal VIP Nospread/Norecoil
  1. #1

    Royal VIP Nospread/Norecoil

    [hide]
    Code:
     static bool Visual_recoil = true;//aim_perfect_fire
    void patch_visual_recoil()
    {
    	BYTE x[1]			= {0xB0};
    	BYTE y[1]			= {0xB4};
    	BYTE z[1]			= {0xB8};
    	DWORD clientBase	= phoenix_memory::GetModuleBaseAdress("client.dll");
    	if (clientBase)
    	{
    		void*m_pRecoilPatch[3]	= {(void*)0,(void*)0,(void*)0};
    		m_pRecoilPatch[0]		= (void*)DWORD(clientBase + 0x192B4);//X
    		m_pRecoilPatch[1]		= (void*)DWORD(clientBase + 0x192BE);//Y
    		m_pRecoilPatch[2]		= (void*)DWORD(clientBase + 0x192CA);//Z
    
    		//hack_func->add_log("recoil x: 0x%X",(DWORD)m_pRecoilPatch[0]);
    		//hack_func->add_log("recoil y: 0x%X",(DWORD)m_pRecoilPatch[1]);
    		//hack_func->add_log("recoil z: 0x%X",(DWORD)m_pRecoilPatch[2]);
    
    // 		if ( KEYDOWN(VK_F12) )
    // 		{
    			if(Visual_recoil)
    			{
    				//remove that annoying effect
    				for( int i = 0; i < 3; i++ )
    					phoenix_memory::protected_memcpy(m_pRecoilPatch[i],PVOID("\x48")/*hi*/,1);
    
    				Visual_recoil = false;
    			}
    // 		}
    // 		else 
    // 		{
    // 			if(!Visual_recoil)
    // 			{
    // 				//restore original
    // 				phoenix_memory::protected_memcpy(m_pRecoilPatch[0],x,1);
    // 				phoenix_memory::protected_memcpy(m_pRecoilPatch[1],y,1);
    // 				phoenix_memory::protected_memcpy(m_pRecoilPatch[2],z,1);
    // 				Visual_recoil = true;
    // 			}
    // 		}
    	}
    }
    
    /*
    ldarg.0
    ldfld   class MEC.MemEdit eXode175.frmMain::memEdit
    ldloc.0
    ldc.i4  0x1E170A
    conv.i8
    add
    ldc.i4  0x9E
    callvirt int32 MEC.MemEdit::WriteMemory(int64 address, unsigned int8 data)
    pop
    ldarg.0
    ldfld   class MEC.MemEdit eXode175.frmMain::memEdit
    ldloc.0
    ldc.i4  0x1E16F0
    conv.i8
    add
    ldc.i4  0x89
    callvirt int32 MEC.MemEdit::WriteMemory(int64 address, unsigned int8 data)
    pop
    ldarg.0
    ldfld   class MEC.MemEdit eXode175.frmMain::memEdit
    ldloc.0
    ldc.i4  0x1E16F1
    conv.i8
    add
    ldc.i4  0x9E
    callvirt int32 MEC.MemEdit::WriteMemory(int64 address, unsigned int8 data)
    pop
    br.s    loc_15EF
    
    */
    static bool nospread = true;//aim_perfect_fire
    void patch_client_spread()
    {
    	BYTE x[1]		=  {0x86};
    	BYTE y[1]		=  {0xD9};
    	BYTE z[1]		=  {0x96};
    
    	BYTE Patchx[1]	=  {0x9E};
    	BYTE Patchy[1]	=  {0x89};
    	BYTE Patchz[1]	=  {0x9E};
    
    	DWORD clientBase	= phoenix_memory::GetModuleBaseAdress("client.dll");
    	if (clientBase)
    	{
    		void*m_pSpreadPatch[3]	= {(void*)0,(void*)0,(void*)0};
    		m_pSpreadPatch[0]		= (void*)DWORD(clientBase + 0x1E170A);//X
    		m_pSpreadPatch[1]		= (void*)DWORD(clientBase + 0x1E16F0);//Y
    		m_pSpreadPatch[2]		= (void*)DWORD(clientBase + 0x1E16F1);//Z
    
    		//hack_func->add_log("spread x: 0x%X",(DWORD)m_pRecoilPatch[0]);
    		//hack_func->add_log("spread y: 0x%X",(DWORD)m_pRecoilPatch[1]);
    		//hack_func->add_log("spread z: 0x%X",(DWORD)m_pRecoilPatch[2]);
    
    // 		if ( KEYDOWN(VK_F12) )
    // 		{
    			if(nospread)
    			{
    				//remove that annoying effect
    				phoenix_memory::protected_memcpy(m_pSpreadPatch[0],Patchx,1);
    				phoenix_memory::protected_memcpy(m_pSpreadPatch[1],Patchy,1);
    				phoenix_memory::protected_memcpy(m_pSpreadPatch[2],Patchz,1);
    				nospread = false;
    			}
    // 		}
    // 		else 
    // 		{
    // 			if(!nospread)
    // 			{
    // 				//restore original
    // 				phoenix_memory::protected_memcpy(m_pSpreadPatch[0],x,1);
    // 				phoenix_memory::protected_memcpy(m_pSpreadPatch[1],y,1);
    // 				phoenix_memory::protected_memcpy(m_pSpreadPatch[2],z,1);
    // 				nospread = true;
    // 			}
    // 		}
    	}
    }
    [/hide]

  2. #2

  3. #3

  4. #4
    lul

  5. #5
    royal must be basically c+p. this code is pretty good though

  6. #6

  7. #7
    gans 6 ftw

  8. #8
    Quote Originally Posted by aVitamin View Post
    gans 6 ftw
    i dont know why he posted it. The aimbot source has no recoil and i think nospread (may be wrong) in it. mattdogs method it seems :3
    yalung is watching

    -the goat

  9. #9

  10. #10
    goodjob

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in