Kryo4lex (06-29-2012),LEGiiTxCHAOTiiC (12-07-2011)
Reverse Engineering sub section, WOOT
The tutorial:
First thing we do is load up IW4MP.exe in ollydbg
Lets get started
Right click -> Search for -> all referenced text strings.
Now right click -> search for text and enter "FireWeapon".
Make sure to uncheck case sensitive and check Entire scope.
Now you should end up here:
Follow it by pressing enter or double clicking on it
Now scroll down till you see this:
The highlighted call is the recoil function.
either NOP out that call for no recoil.
optional:
You can also follow the call by hitting enter which takes you here:
overwrite the highlighted part with:
---
mov eax, 0
retn
---
which is '0xB8, 0x00, 0x00, 0x00, 0x00, 0xC3'
so write '0xB8, 0x00, 0x00, 0x00, 0x00, 0xC3' to 0x0043B130
or write '0x90, 0x90, 0x90, 0x90, 0x90' to 0x0045F9A7
updated addies for 1.1.195:
so write '0xB8, 0x00, 0x00, 0x00, 0x00, 0xC3' to 0x004F76C0
or write '0x90, 0x90, 0x90, 0x90, 0x90' to 0x004DDF77( new unpatch: 0xE8, 0x44, 0x97, 0x01, 0x00)
Ah we-a blaze the fyah, make it bun dem!
Kryo4lex (06-29-2012),LEGiiTxCHAOTiiC (12-07-2011)