sir i have a problem in compiling and it says (unable to open include file "stdafx.h")
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#define ADDR_GM 0x1075C40
#define ADDR_AOE 0x10C62DC
#define ADDR_RANGE 0x10C62D8
void Start();
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReason, LPVOID lpReserved)
{
if (ulReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
}
return TRUE;
}
void Start()
{
while (1)
{
if (GetKeyState(VK_F11) < 0) // Turn On
{
*(DWORD*)ADDR_GM = 2;
*(DWORD*)ADDR_AOE = 100;
*(DWORD*)ADDR_RANGE = 7;
}
if (GetKeyState(VK_F12) < 0) // Turn Off
{
*(DWORD*)ADDR_GM = 0;
*(DWORD*)ADDR_AOE = 0;
*(DWORD*)ADDR_RANGE = 0;
}
Sleep(1);
}
}
Quote:
Can anyone help me ? :( my code is not working ? is there something wrong ?
When i press F11 AOE does't activate :(
Does, anyone have code for sword / big AOE ??
I'll appreciate any kind of help that you can give ! THANKS in ADVANCE !
PHP Code:#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#define ADDR_GM 0x1075C40
#define ADDR_AOE 0x10C62DC
#define ADDR_RANGE 0x10C62D8
void Start();
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReason, LPVOID lpReserved)
{
if (ulReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
}
return TRUE;
}
void Start()
{
while (1)
{
if (GetKeyState(VK_F11) < 0) // Turn On
{
*(DWORD*)ADDR_GM = 2;
*(DWORD*)ADDR_AOE = 100;
*(DWORD*)ADDR_RANGE = 7;
}
if (GetKeyState(VK_F12) < 0) // Turn Off
{
*(DWORD*)ADDR_GM = 0;
*(DWORD*)ADDR_AOE = 0;
*(DWORD*)ADDR_RANGE = 0;
}
Sleep(1);
}
}