Dejavu
11-17-2007, 06:04 PM
I dont know why but my readalong function doesnt work...
Here My Hack Code:
//globals
long addressvalue;
//Function
void READLONG(long addy, long value)
{
memory();
ReadProcessMemory(baabaab,(LPVOID*)(DWORD)addy, &value, 8, NULL);
}
//button press
void CAbcdeEXEDlg::OnStaminaRead()
{
READLONG(0x008DBAFC, addressvalue);
}
//button2
void CAbcdeEXEDlg::OnStaminaWrite()
{
WRITELONG(0x008DBAFC, addressvalue);
}
Of course i have the WRITELONG declared.
And of course that i doesnt read the stamina address, is just an example.
It doesnt do anything when reading...
Here My Hack Code:
//globals
long addressvalue;
//Function
void READLONG(long addy, long value)
{
memory();
ReadProcessMemory(baabaab,(LPVOID*)(DWORD)addy, &value, 8, NULL);
}
//button press
void CAbcdeEXEDlg::OnStaminaRead()
{
READLONG(0x008DBAFC, addressvalue);
}
//button2
void CAbcdeEXEDlg::OnStaminaWrite()
{
WRITELONG(0x008DBAFC, addressvalue);
}
Of course i have the WRITELONG declared.
And of course that i doesnt read the stamina address, is just an example.
It doesnt do anything when reading...