How i can auto refresh screen?
this code system("CLS"); clear screen and how i can load screen?
or how i can reload offset rezultat?
this code system("CLS"); clear screen and how i can load screen?
or how i can reload offset rezultat?
this showQuote:
#include <windows.h>
#include <iostream>
int main()
{
SetConsoleTitle ("BOT");
HWND hWnd;
DWORD processId;
HANDLE hProcess;
hWnd = FindWindow("Solitaire", 0);
if (!hWnd)
{
std::cout << "Programa Isjungta" << std::endl;
} else {
GetWindowThreadProcessId(hWnd, &processId);
hProcess = OpenProcess(PROCESS_ALL_ACCESS, false, processId);
int taskai;
ReadProcessMemory(hProcess, (LPVOID)0x000AA768, &taskai, 4, 0);
std::cout << "Score: " << taskai << std::endl;
if (taskai == 0)
{
std::cout << "Score: " << taskai << std::endl;
}
}
system("pause");
return 0;
}