The addies for No Recoil and No Reload on the updated (8/25) list don't work for me. So I ran Acid's address logger and got the following:
The code to NOP the No recoil addresses then looks like this:Code:#define RECOIL1 0x3745BC20
#define RECOIL2 0x372315E9
#define RECOIL3 0x3745BC34
#define RECOIL4 0x3745BC37
#define RECOIL5 0x3745BC40
#define RELOAD 0x374A7894
And for no-reload:Code:if (norecoil) {
Memoria((LPVOID) (RECOIL1), "\x90\x90\x90", 3);
Memoria((LPVOID) (RECOIL2), "\x90\x90\x90", 3);
Memoria((LPVOID) (RECOIL3), "\x90\x90\x90", 3);
Memoria((LPVOID) (RECOIL4), "\x90\x90\x90", 3);
Memoria((LPVOID) (RECOIL5), "\x90\x90\x90", 3);
} else {
// I'm lazy, do this later...
}
I can verify that this has been working for a couple weeks now. And no, I still haven't bothered to get the disable-no-recoil coded. Ideally, you should memcpy the values from memory at injection/hook into a temporary location so that you don't have to bother with the actual hex codes.Code:if (noreload) {
Memoria((LPVOID) (RELOAD), "\x90\x90\x90\x90\x90\x90", 6);
} else {
Memoria((LPVOID) (RELOAD), "\x0F\x84\xB1\x01\x00\x00", 6);
}
Anyways... Enjoy.
--Phot0n
/gib