Post: HELP COD4 no recoil code please?
06-24-2011, 08:55 PM #1
iIxFR3DDYBOIxIi
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); This would really help!
Thanks,
(adsbygoogle = window.adsbygoogle || []).push({});
06-24-2011, 09:23 PM #2
IL--U--IK--IE
At least I can fight
Originally posted by ixFREDDYBOIIxi View Post
This would really help!
Thanks,


I do not know anything about coding or making patches, but I did some Google searching for you and might have found what you were looking for.

Try this:

    #include <windows.h>

BYTE NoSpread[] = {0x74, 0x15};//0x75, 0x15 = OFF
BYTE NoRecoil[] = {0x75, 0x08};//0x74, 0x08 = OFF

BOOL WINAPI DllMain (HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if (dwReason == DLL_PROCESS_ATTACH)
{
WriteProcessMemory(GetCurrentProcess(), (void*)0x00416C7B, &NoSpread, 2, 0);
WriteProcessMemory(GetCurrentProcess(), (void*)0x0041A7BD, &NoRecoil, 2, 0);
}
return true;
}
06-24-2011, 09:45 PM #3
iIxFR3DDYBOIxIi
Bounty hunter
Thanks but that dont look like a cod4 command
06-26-2011, 07:06 PM #4
Blackstorm
Veni. Vidi. Vici.
Originally posted by IE View Post
I do not know anything about coding or making patches, but I did some Google searching for you and might have found what you were looking for.

Try this:

    #include <windows.h>

BYTE NoSpread[] = {0x74, 0x15};//0x75, 0x15 = OFF
BYTE NoRecoil[] = {0x75, 0x08};//0x74, 0x08 = OFF

BOOL WINAPI DllMain (HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if (dwReason == DLL_PROCESS_ATTACH)
{
WriteProcessMemory(GetCurrentProcess(), (void*)0x00416C7B, &NoSpread, 2, 0);
WriteProcessMemory(GetCurrentProcess(), (void*)0x0041A7BD, &NoRecoil, 2, 0);
}
return true;
}


Uhm.. wtf.

This is CFG modifications. Nothing close to C++. xD
06-26-2011, 08:22 PM #5
IL--U--IK--IE
At least I can fight
Originally posted by Blackstorm View Post
Uhm.. wtf.

This is CFG modifications. Nothing close to C++. xD


Haha, well.. I said it might be it. At least I tried helping him out, even though I knew nothing about the topic. Lol
06-28-2011, 01:35 AM #6
Newfie
Former super mod
Moved to hacking questions.
06-28-2011, 01:36 AM #7
FoxkaZ
Retired Super
Moved to the correct section. :y:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo