Hi, I got a real simple question
First:
Code:
monsterID = baseAddress + 0x007B0B4;
DWORD buffer;
byte monsterID3[15];
ReadProcessMemory(phandle,(void*)monsterID,&buffer, sizeof(&buffer),0);
ReadProcessMemory(phandle,(void*)buffer+0x124,&buffer, sizeof(&buffer),0);
(Now I have first, or second monster in battlelist)
Then
Code:
ReadProcessMemory(phandle,(void*)monsterID, &monsterID3, 15,0);
Gives only 4 characters (Cipf) and not Cipfried.
Even though I tell readprocessmemory to take 15 characters. Why is this?
Thanks.
<edit> Now I managed to make it more than 4 char, but its in ASCII. I have no idea how to make it
normal.
its like:
Code:
ReadProcessMemory(phandle,(void*)monsterID, &monsterID3[0],sizeof(monsterID3),0);
cout << monsterID3 << endl;