Results 1 to 10 of 10
  1. #1
    LEGiiTxCHAOTiiC's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Chicago
    Posts
    200
    Reputation
    39
    Thanks
    72

    [Release][Detected][CPP] No Recoil / No Spread

    Well since my thread got deleted and I don't want to rescan and re do everything, I'm releasing this EASY ASS SOURCE. Don't ask for help, it's like 60 lines and if you can't get it to work... lmao read a book

    Code:
    #include <Windows.h>
    #include <iostream>
    
    void pauseConsole();	// prototype
    void sleepAlert();      //
    
    int main(int argc, char* argv[])
    {
            BYTE NoSpread[] = {
                0x74,
                0x15
            };
        
            BYTE NoRecoil[] = {
                0x75,
                0x08
            };
    
    	HWND hWnd = FindWindow(NULL, TEXT("Call of Duty 4"));
    
    	if(hWnd == NULL)
    	{
    		std::cerr << "\n\n\nERROR :: Cannot find CoD4 window" << std::endl;
    	}
    
    	else
    	{
    		DWORD pId;
    
    		GetWindowThreadProcessId(hWnd, &pId);
    
    		HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pId);
    
    		if(!hProc)
    		{
    			std::cerr << "\n\n\nERROR :: Cannot open process" << std::endl;
    		}
    
    		else
    		{
    				for(;;)
    				{
    				    if(WriteProcessMemory(hProc, (void*)0x00416C7B, &NoSpread, 2, 0) && WriteProcessMemory(hProc, (void*)0x0041A7BD, &NoRecoil, 2, 0))
                        {
                            sleepAlert();
                        }
    				}
    			CloseHandle(hProc);
    		}
    	}
    	pauseConsole();
    
    	return 0;
    }
    
    void pauseConsole()
    {
    	std::cout << "\n\n\tPress <Enter> to continue...";
    	std::cin.clear();
    	std::cin.ignore();
    }
    
    void sleepAlert()
    {
        std::clog << "\n\n\nSUCCESS :: Process memory written" << std::endl;
        Sleep(10000);
    }
    Last edited by LEGiiTxCHAOTiiC; 07-19-2012 at 09:39 PM.

  2. #2
    EpicCockMuncherNo1's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    Alone in the Dark
    Posts
    1,546
    Reputation
    152
    Thanks
    21,771
    Why Alway Realeasing DETECTED SCripts/Hacks etc. Its a bit like eating Cold Pizza

  3. The Following 2 Users Say Thank You to EpicCockMuncherNo1 For This Useful Post:

    gsaini (03-28-2014),luka4190 (12-09-2012)

  4. #3
    LEGiiTxCHAOTiiC's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Chicago
    Posts
    200
    Reputation
    39
    Thanks
    72
    It was for lazy people and people just wanting a working fully functional no recoil without any work really. If I wanted to release something worth more, I'd make the downloaders/copy and pasters do some work.

  5. #4
    masonhales's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    7
    how 2 inject

  6. #5
    Gaz's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    5,364
    Reputation
    494
    Thanks
    1,022
    Quote Originally Posted by masonhales View Post
    how 2 inject
    AHAHAHHA OMG HAHAHHHAHAHAHHAHAHAHAHAHAHAHAHHAHAHA OMGG AHAHAHHA its a source code mate, you don't inject it.




  7. #6
    LEGiiTxCHAOTiiC's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Chicago
    Posts
    200
    Reputation
    39
    Thanks
    72
    Umm compile the source, I use g++ and then run it. Run as Administrator if on Win Vista/7/8 to make sure it writes the process memory because otherwise you might come across permission / security alerts / errors.

    ---------- Post added at 10:50 PM ---------- Previous post was at 10:48 PM ----------

    Quote Originally Posted by LEGiiTxCHAOTiiC View Post
    Well since my thread got deleted and I don't want to rescan and re do everything, I'm releasing this EASY ASS SOURCE. Don't ask for help, it's like 60 lines and if you can't get it to work... lmao read a book

    Code:
    #include <Windows.h>
    #include <iostream>
    
    void pauseConsole();	// prototype
    void sleepAlert();      //
    
    int main(int argc, char* argv[])
    {
            BYTE NoSpread[] = {
                0x74,
                0x15
            };
        
            BYTE NoRecoil[] = {
                0x75,
                0x08
            };
    
    	HWND hWnd = FindWindow(NULL, TEXT("Call of Duty 4"));
    
    	if(hWnd == NULL)
    	{
    		std::cerr << "\n\n\nERROR :: Cannot find CoD4 window" << std::endl;
    	}
    
    	else
    	{
    		DWORD pId;
    
    		GetWindowThreadProcessId(hWnd, &pId);
    
    		HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pId);
    
    		if(!hProc)
    		{
    			std::cerr << "\n\n\nERROR :: Cannot open process" << std::endl;
    		}
    
    		else
    		{
    				for(;;)
    				{
    				    if(WriteProcessMemory(hProc, (void*)0x00416C7B, &NoSpread, 2, 0) && WriteProcessMemory(hProc, (void*)0x0041A7BD, &NoRecoil, 2, 0))
                        {
                            sleepAlert();
                        }
    				}
    			CloseHandle(hProc);
    		}
    	}
    	pauseConsole();
    
    	return 0;
    }
    
    void pauseConsole()
    {
    	std::cout << "\n\n\tPress <Enter> to continue...";
    	std::cin.clear();
    	std::cin.ignore();
    }
    
    void sleepAlert()
    {
        std::clog << "\n\n\nSUCCESS :: Process memory written" << std::endl;
        Sleep(10000);
    }

    Use this instead, I think I changed some stuff, I don't remember and I don't really care either, the first one works but I'm trying to improve it all the time, anyways, here:


    Code:
    #include <Windows.h>
    #include <iostream>
    
    void pauseConsole(int sleepTime);	// prototype
    void sleepAlert();
    
    int main(int argc, char* argv[])
    {
        SetConsoleTitleA(TEXT("Call of Duty 4 - No Recoil / No Spread"));
    
        byte NoSpread[] = {
            0x74,
            0x15
        };
    
        byte NoRecoil[] = {
            0x75,
            0x08
        };
    
    	HWND hWnd = FindWindow(NULL, TEXT("Call of Duty 4"));
    
    	if(hWnd == NULL)
    	{
    		std::cerr << "ERROR :: Cannot find window\n" << std::endl;
    	}
    
    	else
    	{
    		DWORD pId;
    
    		GetWindowThreadProcessId(hWnd, &pId);
    
    		HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pId);
    
    		if(!hProc)
    		{
    			std::cerr << "ERROR :: Cannot open process\n" << std::endl;
    		}
    
    		else
    		{
                for(;;)
                {
                    if(WriteProcessMemory(hProc, (void*)0x00416C7B, &NoSpread, 2, 0) && WriteProcessMemory(hProc, (void*)0x0041A7BD, &NoRecoil, 2, 0))
                    {
                        sleepAlert();
                    }
                }
    			CloseHandle(hProc);
    		}
    	}
    	pauseConsole(0);
    
    	return 0;
    }
    
    void pauseConsole(int sleepTime)
    {
        if(sleepTime == 0)
        {
            std::clog << "\nPress <Enter> to continue...";
            std::cin.clear();
            std::cin.ignore();
        }
    
    	else
    	{
    	    Sleep(sleepTime);
    	    std::clog << "\nPress <Enter> to continue...";
            std::cin.clear();
            std::cin.ignore();
    	}
    }
    
    void sleepAlert()
    {
        std::clog << "SUCCESS :: Process memory written\n\n" << std::endl;
        Sleep(60000);
    }
    Last edited by LEGiiTxCHAOTiiC; 07-24-2012 at 08:52 PM.

  8. #7
    Gaz's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    5,364
    Reputation
    494
    Thanks
    1,022
    Quote Originally Posted by LEGiiTxCHAOTiiC View Post
    Umm compile the source, I use g++ and then run it. Run as Administrator if on Win Vista/7/8 to make sure it writes the process memory because otherwise you might come across permission / security alerts / errors.

    ---------- Post added at 10:50 PM ---------- Previous post was at 10:48 PM ----------




    Use this instead, I think I changed some stuff, I don't remember and I don't really care either, the first one works but I'm trying to improve it all the time, anyways, here:


    Code:
    #include <Windows.h>
    #include <iostream>
    
    void pauseConsole(int sleepTime);	// prototype
    void sleepAlert();
    
    int main(int argc, char* argv[])
    {
        SetConsoleTitleA(TEXT("Call of Duty 4 - No Recoil / No Spread"));
    
        byte NoSpread[] = {
            0x74,
            0x15
        };
    
        byte NoRecoil[] = {
            0x75,
            0x08
        };
    
    	HWND hWnd = FindWindow(NULL, TEXT("Call of Duty 4"));
    
    	if(hWnd == NULL)
    	{
    		std::cerr << "ERROR :: Cannot find window\n" << std::endl;
    	}
    
    	else
    	{
    		DWORD pId;
    
    		GetWindowThreadProcessId(hWnd, &pId);
    
    		HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pId);
    
    		if(!hProc)
    		{
    			std::cerr << "ERROR :: Cannot open process\n" << std::endl;
    		}
    
    		else
    		{
                for(;;)
                {
                    if(WriteProcessMemory(hProc, (void*)0x00416C7B, &NoSpread, 2, 0) && WriteProcessMemory(hProc, (void*)0x0041A7BD, &NoRecoil, 2, 0))
                    {
                        sleepAlert();
                    }
                }
    			CloseHandle(hProc);
    		}
    	}
    	pauseConsole(0);
    
    	return 0;
    }
    
    void pauseConsole(int sleepTime)
    {
        if(sleepTime == 0)
        {
            std::clog << "\nPress <Enter> to continue...";
            std::cin.clear();
            std::cin.ignore();
        }
    
    	else
    	{
    	    Sleep(sleepTime);
    	    std::clog << "\nPress <Enter> to continue...";
            std::cin.clear();
            std::cin.ignore();
    	}
    }
    
    void sleepAlert()
    {
        std::clog << "SUCCESS :: Process memory written\n\n" << std::endl;
        Sleep(60000);
    }
    Can we compile using C++ or studio ?




  9. #8
    LEGiiTxCHAOTiiC's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Chicago
    Posts
    200
    Reputation
    39
    Thanks
    72
    Quote Originally Posted by Gaz View Post


    Can we compile using C++ or studio ?
    I use GNU G++, but you can use say anything like that including Cygwin (I don't recommend), MingW, and regular GCC or really anything. If you want to use Visual Studio, change int main to int _tmain and char* to _TCHAR* in the main method. There's probably more you'd need to change but I haven't used VS in a while. Anyways, good luck. Hope I was of some help.

  10. #9
    LEGiiTxCHAOTiiC's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Chicago
    Posts
    200
    Reputation
    39
    Thanks
    72
    UPDATE:

    Code:
    #include <Windows.h>
    #include <iostream>
    
    void pauseConsole(int sleepTime);	// prototype
    void sleepAlert(void);
    
    int main(int argc, char* argv[])
    {
        SetConsoleTitleA(TEXT("Call of Duty 4 - No Recoil / No Spread"));
    
        byte NoSpread[] = {
            0x74,
            0x15
        };
    
        byte NoRecoil[] = {
            0x75,
            0x08
        };
    
    	HWND hWnd = FindWindow(NULL, TEXT("Call of Duty 4"));
    
    	if(hWnd == NULL)
    	{
    		std::cerr << "ERROR :: Cannot find window\n" << std::endl;
    	}
    
    	else
    	{
    		DWORD pId;
    		GetWindowThreadProcessId(hWnd, &pId);
    		HANDLE hProc = OpenProcess(PROCESS_VM_WRITE | PROCESS_VM_OPERATION, FALSE, pId);
    
    		if(!hProc)
    		{
    			std::cerr << "ERROR :: Cannot open process\n" << std::endl;
    		}
    
    		else
    		{
                WriteProcessMemory(hProc, (void*)0x00416C7B, &NoSpread, 2, 0);
                WriteProcessMemory(hProc, (void*)0x0041A7BD, &NoRecoil, 2, 0);
    
                VirtualProtectEx(hProc, (void*)0x00416C7B, 2, 0x02, (DWORD*)&NoSpread);
                VirtualProtectEx(hProc, (void*)0x0041A7BD, 2, 0x02, (DWORD*)&NoRecoil);
    		}
    		CloseHandle(hProc);
    	}
    	pauseConsole(0);
    	return 0;
    }
    
    void pauseConsole(int sleepTime)
    {
        if(sleepTime == 0)
        {
            std::clog << "\nPress <Enter> to continue...";
            std::cin.clear();
            std::cin.ignore();
        }
    
    	else
    	{
    	    Sleep(sleepTime);
    	    std::clog << "\nPress <Enter> to continue...";
            std::cin.clear();
            std::cin.ignore();
    	}
    }
    
    void sleepAlert(void)
    {
        std::clog << "SUCCESS :: Process memory written\n\n" << std::endl;
        Sleep(60000);
    }
    How to use:

    - Compile with G++ (preferably)
    - Run CoD4 first
    - Run this program
    - Close this program
    - Play CoD4 with no recoil on non PB servers

  11. #10
    Drinking Water's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Bay Area
    Posts
    665
    Reputation
    12
    Thanks
    2,174
    My Mood
    Tired
    Thank you so much.

Similar Threads

  1. SilentScOpe's Recoil / Less Spread (Working Aug 22+)
    By ArcticRaider in forum Combat Arms Hacks & Cheats
    Replies: 132
    Last Post: 09-23-2008, 02:25 PM
  2. hack No Recoil / Less Spread
    By handicap in forum Combat Arms Hacks & Cheats
    Replies: 29
    Last Post: 08-24-2008, 07:01 PM
  3. No Recoil/Less Spread - OffBeatNinja
    By JHooker in forum Combat Arms Hacks & Cheats
    Replies: 29
    Last Post: 08-20-2008, 12:00 PM
  4. How to find Recoil and Spread addresses?
    By V1olATor in forum WarRock - International Hacks
    Replies: 5
    Last Post: 04-20-2007, 09:50 AM
  5. No recoil/no spread addys?
    By IBEZ in forum WarRock - International Hacks
    Replies: 8
    Last Post: 01-14-2007, 08:39 PM