You read the value of the pointer to get the address it's pointed to and then add the offset..
Hello,
I am new to mw3 coding world and trying to start make some program for MW3.
Using the specified addresses is different but finding an address seems to be whole different thing.
I mean i tried to find an address for name faking.
Current MW3Version I use :1.4382
i think i found the static pointer but now how to use it. cuz when i put the pointer in c# program it dont work but when i try to change value from C.E it works?
please see the pic.
[IMG]https://i341.photobucke*****m/albums/o377/pakistanihaider/CEss.jpg[/IMG]
Code Behind Button.
what to do? can anyone help me in this?Code:private void fkbtn_Click(object sender, EventArgs e) { if (Process_Handle("iw5mp")) { WriteString(0x058CB138, fktxtbx.Text); } else { MessageBox.Show("Process No Found"); } }
Last edited by Jorndel; 05-20-2012 at 12:28 AM. Reason: Removed Some Info.
You read the value of the pointer to get the address it's pointed to and then add the offset..
try something like that.Code:private void fkbtn_Click(object sender, EventArgs e) { if (Process_Handle("iw5mp")) { WriteString((0x08ED1542 + ReadInteger(0x058CB138)), "Hey"); } else { MessageBox.Show("Process No Found"); } }
I don't remember for sure tho :P
First of all many many thanks for your replies. Its so good to see ppl helping others here.
@Jorndel
I tried the values, basically copy pasted what you gave. but it didn't worked.
isn't there any way to know the exact static address for name for mw3.
i am using visual studio and c#. To be honest i am inspired from your given 28min video. I applied your method on Prestige Tokens, XP, Double XP and they are working awesome but i got there values from here mpgh and tried on MW3 and its working flawlessly.
Dear PG Friend, but i couldnt find nickname address from here so tried CheatEngine to find adderess and then tried to find the pointer of which i displayed pic.
Pointer was i think static cuz when i closed and restarted game the pointer was working even the address was changed. i mean when i put value it changed my name in game.
but i dont understand how to change value through pointer in C#.
I am very sorry if i wrote too much. Again i am new in coding of mw3 and CheatEngine. I am learning Cheatengine throught its tuts.
Regards,
haider
Last edited by Jorndel; 05-20-2012 at 03:51 AM.
Last edited by Jorndel; 05-20-2012 at 03:55 AM.
1. Start CE and find your name -> pointerscan -> get a million results
2. Restart the game -> find new address -> check the previous pointerscan for results to your address -> get 100 results
3. Restart the game -> find new address -> check the previous pointerscan for results to your address -> get 10 results
4. Restart the game -> find new address -> check the previous pointerscan for results to your address -> get 2 results
And there you have a static pointer which can be used.
Then:
Get the base memory address for MW3 (the "iw5mp.exe" part).
Read the integer value stored at the address of the pointer.
Take the value and add the offset.
Use the new value as an address and write something to it.
Profit.
Maybe it's easier in code..
Hmm.. nope..Code:#include <windows.h> int main() { DWORD pointer_add = 0x18C21; DWORD offset = 0xC; DWORD address = NULL; char meep[] = "I'm a cake"; BYTE *Cake = NULL; Cake = Get_base("IW5"); // IW5mp.exe, base from windowclass address = (DWORD)(Cake + pointer_add + offset); Set_Memory("IW5", address, meep); // I'll just have the function fill in the handles by windowclass because I'm lazy.. /* WriteProcessMemory( __in HANDLE hProcess, __in LPVOID lpBaseAddress, __in_bcount(nSize) LPCVOID lpBuffer, __in SIZE_T nSize, __out_opt SIZE_T * lpNumberOfBytesWritten ) */ return 0x1C3; }
@pakistanihaider AOA, Im a paki too, I hope You find some solution to your problem, You play on Steam or AlterIWnet?
i play on both steam and teknomw3.
No. i am still figuring out how to use cheatengine
rescan and again rescan how and how to find base value ??
Last edited by pakistanihaider; 05-23-2012 at 12:54 AM.
You have seen the video I showed you?
If I remember right I will show you the pointer values you need to take and use.
Also remember to put them in the right order.
Doing more re-scans just give you a more "secure" pointer. Instead of some that might not work for all. (Or every time)
Still don't get it could you maybe make a voice tutorial please?
I don't really remember what is what now :S
Wiki: An offset usually denotes the number of address locations added to a base address in order to get to a specific absolute address
Means an Offset is the Value added to the Main Address.
And the address is the "point" in the memory.
(Like XP and such. And offsets are what you read that are used for pointers)
If I remember/understand it right :P @Isaakske
Offset:
Address:
Last edited by Jorndel; 08-06-2012 at 10:50 AM. Reason: Done now...