Hey guys, zmansquared here. (Maybe this could be stickied for further reference.
Ok this is how to code a simple memory hack for combat arms. Steps:
1. Ask your self what are you trying to do?
2. Search for the addie(s) you want to find in cshell, or game via olly, mhs, ida, etc. that correspond to what you are trying to achieve in your hack.
3. Ok, first youll want to define the addie. Say our addies are 0x000010 and 0x000001.
#define Ad_1 0x000010 //followed by the bytes
#define Ad_2 0x000001 //followed by the bytes
4. Time to write the code. it would look like this:
if( Menu.mOpt[X].nopt > "Off" ) //X= menu number option
{
Memoria(( void* )( dwCShell + Ad_1 ), "//bytes, //number of bytes );
Memoria(( void* )( dwCShell + Ad_2 ), "//bytes, //number of bytes );
}
5. Bytes are found by enter the addy into mhs or something then noping it. (ex) say we got this when we noped it \x90\x90\x90, then that would equal the bytes and the number of bytes would be 3. (how many times x90 occured.
Hope This Helps!!!
Zach
POST QUESTIONS, i am here to help
THANK ME!!!