Tere
Leidsin netist Rollercoaster Tycoon 1 money hack koodi
aga siin on 1 viga sees millest kahjuks ma ei saa aru
äkki keegi oskab aidata
13 error: cannot convert 'CHAR* {aka char*}' to 'const wchar_t*' for argument '1' to 'int wcsicmp(const wchar_t*, const wchar_t*)'|
#include
#include
#include
using namespace std;
DWORD GetRCT()
{
HANDLE hSnap = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, NULL );
PROCESSENTRY32 pe = {sizeof(pe),0};
DWORD pID = 0;
if( Process32First( hSnap, &pe ) ) {
do {
if( !_wcsicmp( pe.szExeFile, L"rct.exe" ) ) {
pID = pe.th32ProcessID;
}
} while( !pID && Process32Next( hSnap, &pe ) );
CloseHandle( hSnap );
}
return pID;
}
void MeerGeld( DWORD pID )
{
DWORD money, dwRead = 0;
HANDLE hProc = OpenProcess( PROCESS_VM_OPERATION|PROCESS_VM_READ|PROCESS_VM_WRITE, 0, pID );
if( hProc && hProc != INVALID_HANDLE_VALUE ) {
ReadProcessMemory( hProc, (LPCVOID)0x0087D494, &money, 4, &dwRead );
money += 10000;
WriteProcessMemory( hProc, (LPVOID)0x0087D494, &money, 4, &dwRead );
CloseHandle( hProc );
cout }
}
int main()
{
DWORD rct = GetRCT();
cout cout do {
rct = GetRCT();
if( rct && GetAsyncKeyState( VK_F11 ) ) {
MeerGeld( rct );
}
Sleep( 100 );
} while( 1 );
cin.get();
}