rrichsan How do I cheat?
Reputation: 0
Joined: 30 Jun 2010 Posts: 1
|
Posted: Sun Jan 30, 2011 10:54 am Post subject: C++ question |
|
|
Hello all,,,
before him I'm sorry if the language I use is less clear because I use Google translation ..
I tried to make a cheat as well as a digital clock that always moves her every second ..
so I can see what items can I not result in certain moments, because I feel there are certain moments nice to make the item ..
I tried to find the addresses to use cheat engine 6.0 following his address:
00453222 ----------> place to make items
007612ACC -------> item A
007612FB4 --------> item B
00761349C -------->item C
007613984 --------> item D
007613E6C -------> item E
I still lay about C + +
I tried stringing Source Code I am trying to do after 3 days of google search
I'm sure there are a lot of mistakes .. because I really do not understand at all and did not know had to ask anyone around me ...
The following Source Code I'm trying to make:
# Include <windows.h>
# Include <iostream>
# Include <string.h>
using namespace std;
DWORD threadid;
DWORD = (DWORD) (* (DWORD *) 0x453222);
ItemA DWORD = (DWORD) (* (DWORD *) 0x7612ACC);
ItemB DWORD = (DWORD) (* (DWORD *) 0x7612FB4);
ItemC DWORD = (DWORD) (* (DWORD *) 0x761349C);
ItemD DWORD = (DWORD) (* (DWORD *) 0x7613984);
ItemE DWORD = (DWORD) (* (DWORD *) 0x7613E6C);
int main ()
{
unsigned long ItemA = 0x7612ACC;
unsigned long ItemB = 0x7612FB4;
unsigned long ItemC = 0x761349C;
unsigned long ItemD = 0x7613984;
unsigned long ItemE = 0x7613E6C;
DWORD buffer;
ReadProcessMemory (hProcess, (LPCVOID) (0x453222), & buffer, sizeof (buffer), NULL);
ReadProcessMemory (hProcess, (LPCVOID) (buffer +0 x7612ACC), & buffer, sizeof (buffer), NULL); / / A
ReadProcessMemory (hProcess, (LPCVOID) (buffer +0 x7612FB4), & buffer, sizeof (buffer), NULL); / / B
ReadProcessMemory (hProcess, (LPCVOID) (buffer +0 x761349C), & buffer, sizeof (buffer), NULL); / / C
ReadProcessMemory (hProcess, (LPCVOID) (buffer +0 x7613984), & buffer, sizeof (buffer), NULL); / / D
ReadProcessMemory (hProcess, (LPCVOID) (buffer +0 x7613E6C), & buffer, sizeof (buffer), NULL); / / E
WriteProcessMemory (hProcess, (LPCVOID) buffer, & ItemA, sizeof (ItemA), NULL);
WriteProcessMemory (hProcess, (LPCVOID) buffer, & ItemB, sizeof (ItemB), NULL);
WriteProcessMemory (hProcess, (LPCVOID) buffer, & ItemC, sizeof (ItemC), NULL);
WriteProcessMemory (hProcess, (LPCVOID) buffer, & ItemD, sizeof (ItemD), NULL);
WriteProcessMemory (hProcess, (LPCVOID) buffer, & ItemE, sizeof (ItemE), NULL);
return 0;
}
I tried to make an appearance in the game screen ....
maybe if what I mean can be made?
because I was very dizzy and almost gave up
Was there that can help them or at least give some clues so I can fix it
|
|