Oh hai thur!!
Just got bored, and it's like, 8:51PM when I posted this, so I figured I'd show people how to unlock all cvars...EXCEPT GOD MODE AND CRAP
So blah.
This will work for any Q3 based game...
Ok, so let's start.
First, open up your favorite debugger. I prefer OllyDbg, so yeah, deal with it
Second, select the game of your choice that you would like to unlock the cvars to (I used Cod1 1.5).
So, we need to change our module to CoDMP.exe
After you have done this, next you need to search for All Referenced Text Strings.
For dummys:
Next, we want to search for any type of console message that will say our cvar " is write/cheat protected."
So rightclick, and go to Search For Text and type: protected
This will bring us straight to Write Protected. Scroll up a bit, and select "is Read Only."
So, scroll up just a few lines and you will see this
Thats what we want. So, we DO NOT want the offset on the outside of the line, e.g. 0x0043BCF5...we want the actual line itself, being 0x0043BCDA.Code:0043BCDA 74 19 JE SHORT CoDMP.0043BCF5
So, wherever you're putting your reason_for_call, add that in like so:
This isn't C+P, so find your own &JMP and CoDHandle identifiersCode:WriteProcessMemory(CoDHandle, void*)0x0043BCDA, &JMP, 2, 0 );
So, lets move on to the next unlock!!
Press Ctrl+L and your search will automatically move on to the next ASCII that contains "protected."
So, we're at Write Protected. Do the same thing you did for read only here:
Add our code:Code:0043BCF7 74 19 JE SHORT CoDMP.0043BD12
Code:WriteProcessMemory( CoDHandle, (void*)0x0043BD12, &JMP, 2, 0 );
Ctrl+L again and you'll land on Cheat protected.
Yes, I saw your eyes widen. Cheat protected cvars.
Yes, same way.
OMFG WAIT JNZ OR JE?!!? THERES 2?!?!
Use JE...don't have a cow...
Add:Code:0043BD15 74 24 JE SHORT CoDMP.0043BD3B
Code:WriteProcessMemory( CoDHandle, (void*)0x0043BD3B, &JMP, 2, 0 );
And ta-daa you have it.
Only thing you need for this is your CoDHandle and JMP function. Both are not hard, and with a bit of logic, you'll find the JMP in no time.
EDIT: Changed dvar -> cvar cause deadnesser nazi
Credits:
t00ny
Encore


LinkBack URL
About LinkBacks














Reply With Quote


Bookmarks