Quote:
Originally Posted by syndrah
the aoe check is a flag, you can enable and disable using the same key instead of using 2 different keys.
|
---------------------------------------
if (GetKeyState(VK_F12) < 0) // Turn On/off
{
if (i==1) {
*(DWORD*)ADDR_GM = 2;
*(DWORD*)ADDR_AOE = 100;
*(DWORD*)ADDR_RANGE = 7;
i=2;
}
else if (i==2){
*(DWORD*)ADDR_GM = 0;
*(DWORD*)ADDR_AOE = 0;
*(DWORD*)ADDR_RANGE = 0;
i=1;
}
}
-----------------------------
is this what u mean??
Quote:
Originally Posted by jslvdr
@syndrah I think there will be an error if you compile it because there is no windows.h in the header.
You need windows.h for the hotkeys.
|
no need for to include windows.h, it's already inside "stdafx.h".
@syndrah i think we have the same problem.. i got the aoe/gm/range working with just 1 key. eg f12, it works. but when i added another key eg f11 for combo, all wouldn't function anymore..