 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Shizzurp How do I cheat?
Reputation: 0
Joined: 09 Mar 2012 Posts: 6
|
Posted: Fri Mar 09, 2012 7:34 am Post subject: c++ memory pointer help |
|
|
Hey, I've been trying to figure this out for a while now, spent countless hours googling for help and watching videos on youtube about this and still can't figure it out so this is my last resort...
I'm trying to work with "iw5mp" which is modern warfare 3 multi player. What I'm trying to do is grab my current in game name and change it so that it is different from my steam friends name. I've got a cheat engine pointer scan result but I'm having heaps of difficulty transfering it into c++ code that will return anything that looks like what I need..
Here's the code I'm trying currently.
| Code: | DWORD startAddress = 0x0001824C;
DWORD finishAddress = 0;
DWORD pointer1, pointer2, pointer3, pointer4;
WORD Offset0 = 0x000;
WORD Offset1 = 0x004;
WORD Offset2 = 0x008;
WORD Offset3 = 0x0010;
WORD Offset4 = 0x006A;
ReadProcessMemory(hProc,(LPCVOID)("steam_api.dll"+startAddress+Offset0), &pointer1, 4, NULL);
ReadProcessMemory(hProc,(LPCVOID)(pointer1+Offset1), &pointer2, 4, NULL);
ReadProcessMemory(hProc,(LPCVOID)(pointer2+Offset2), &pointer3, 4, NULL);
ReadProcessMemory(hProc,(LPCVOID)(pointer3+Offset3), &pointer4, 4, NULL);
ReadProcessMemory(hProc,(LPCVOID)(pointer4+Offset4), &finishAddress, 4, NULL);
cout << "Current Name is: " << finishAddress << endl; |
Here's the cheat engine table that I'm trying to turn the above code into..
| Code: | <?xml version="1.0"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>8</ID>
<Description>"pointerscan result"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
<Address>"steam_api.dll"+0001824C</Address>
<Offsets>
<Offset>6A</Offset>
<Offset>10</Offset>
<Offset>8</Offset>
<Offset>4</Offset>
<Offset>0</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatTable> |
it hurts trying to figure this out..what else could I try? |
|
| Back to top |
|
 |
Acubra Advanced Cheater
Reputation: 0
Joined: 19 Jun 2011 Posts: 64 Location: C:\Windows\System32\HoG
|
Posted: Fri Mar 09, 2012 9:42 am Post subject: |
|
|
Hey,
I wrote a function in C++ wich does exactly what you want to do.
Here the function:
http://homeofgamehacking.de/showthread.php?tid=843
I won't help you more, since multiplayer cheating is not supported in this forum. |
|
| Back to top |
|
 |
Shizzurp How do I cheat?
Reputation: 0
Joined: 09 Mar 2012 Posts: 6
|
Posted: Fri Mar 09, 2012 10:09 am Post subject: |
|
|
| Well thanks, I'll check this out..I didn't really see this as hacking mp as it's not modifying the game play unfairly for other players, I normally use this to avoid people on my friends list when I am appearing offline..That's just my view though, I'm sorry if this broke a forum rule.. |
|
| Back to top |
|
 |
Acubra Advanced Cheater
Reputation: 0
Joined: 19 Jun 2011 Posts: 64 Location: C:\Windows\System32\HoG
|
Posted: Fri Mar 09, 2012 10:53 am Post subject: |
|
|
Hey,
if you got any further questions you can PM me at HoG (since you shouldn't be allowed to write PM's here) . |
|
| Back to top |
|
 |
tprice88 How do I cheat?
Reputation: 0
Joined: 07 Dec 2011 Posts: 4
|
Posted: Fri Mar 23, 2012 2:46 pm Post subject: |
|
|
change start address to 41824C
and this line 2
| Code: | | ReadProcessMemory(hProc,(LPCVOID)startAddress, &pointer1, 4, NULL); |
if should read your name if your address's are right, you dont have any coding to change your name though. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|