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
Thanks Ph0ton, i already knew this, but a great contribution for your first post i guess.
+Thanks.
JIAHUI (09-18-2010)
Thank you for sharing.
n6878 (09-29-2010)
I added everytthing for you
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{ Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3); Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3); Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3); Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3); Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3); }
No I do not make game hacks anymore, please stop asking.
NOOB (10-02-2010),Phot0n (09-18-2010),Timboy67678 (09-27-2010)
weird, i'm running the old ones from crash's post and they work fine, i just logged out
commando: You're probably the best non-coder coder I know LOL
dude can you send me thoes hacks
Rellsterat (10-02-2010)
its only one hour....
It's 1 week and 1 hour
No I do not make game hacks anymore, please stop asking.
nice code man, ill put it to good use
now for his test to get new addies. i still cant do it