Complex address - C++
Posted: Thu Aug 26, 2010 6:21 am
Hi, i have a problem with my program that change's speed value of some MMO game. Can someone tell my why this not work's?
What i'm doing wrong? It is because hack is blocked by Hackshield?
- Code: Select all
//L.Spiro Function
UINT_PTR DeRef( UINT_PTR _uiptrPointer ) {
UINT_PTR uiptrRet;
if ( !::ReadProcessMemory( hProcess, reinterpret_cast<LPVOID>(_uiptrPointer), &uiptrRet, sizeof( uiptrRet ), NULL ) ) { return 0UL; }
return uiptrRet;
}
void multiPointer(unsigned int speed) {
UINT_PTR uiptrFinal = DeRef( DeRef( 0x69F190 ) + 0xA20 ) + 0x9BA;
::WriteProcessMemory( hProcess, reinterpret_cast<LPVOID>(uiptrFinal), &speed, sizeof(speed), NULL );
}
void CMyHackDlg::SpeedButtonOn()
multiPointer(16666);
}
void CMyHackDlg::SpeedButtonOff()
{
multiPointer(16230);
}
What i'm doing wrong? It is because hack is blocked by Hackshield?