Open Chaprnks opened 7 years ago
It should be built into an executable.
I changed the code. You might replace those lines:
HANDLE snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL);
DWORD addr1 = 0xB6EC1C;
DWORD addr2 = 0xB6EC1C-4;
with
HANDLE snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
long long addr1 = 0xB6EC1C;
long long addr2 = 0xB6EC1C-4;
and you might want to delete this line (33) because it was a customization:
value = value*9/16;
I am not sure weather this should be built into a .dll (& injected), or if its possible to use it as a .ASI (& load with ASI loader)?
Also, when I compile this (simple MingW compiler), I get a few compile warnings.