Originally Posted by
TermsGaming
yeah i was thinking of this but i couldent figure out how to convert user input into hex, maybe you could give me an example to help out
Nice work.
Convert hex user input into int:
Code:
int hex;
char buff[8];
scanf("%s", buff);
sscanf(buff, "%x", &hex);
You could also use a pointer to get the fov address:
Code:
DWORD ptr;
float value = 90;
ReadProcessMemory(hProcess, (LPCVOID)0x368EB70, &ptr, sizeof(ptr), 0);
WriteProcessMemory(hProcess, (LPVOID)(ptr + 0x10), &value, sizeof(value), 0);