can you please give me a tutorial on how to create a cabal trainer? if its ok ^^
:handsdown::handsdown::handsdown::handsdown::hands down:
:handsdown::handsdown::handsdown::handsdown::hands down:
#include "windows.h"
#define ADDR_GM 0x1075C48
#define ADDR_AOE 0x10C62FC
#define ADDR_RANGE 0x10C62F8
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:
actually its easy if u only want AOE/RANGE
u just nid a compiler , i use visual studio 2010
and a sample code
dont ask me where to put these codesPHP Code:#include "windows.h"
#define ADDR_GM 0x1075C48
#define ADDR_AOE 0x10C62FC
#define ADDR_RANGE 0x10C62F8
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);
}
}
ask google
u nid to edit the addresses that fits ur server
Debugging dlls through VS integrated debugger doesn't work like that, dlls aren't standalone components and thus don't run on their own.Quote:
i got a proble after i start debugging it says. unable to start program blah blah blah... and at the buttom access denied
it would be nice if you could for us noobsQuote:
Debugging dlls through VS integrated debugger doesn't work like that, dlls aren't standalone components and thus don't run on their own.
You need to start from the ground up, you won't learn any programming language or debugging from a tutorial or two. I could spoonfeed you everything but all you need is already on this forum so I won't. :p
that code wont work for you. u cant use hotkeysQuote:
genesisVI's post is enough for anyone to make many hacks like (gm range aoe)no cooldown zoom hack etc, for other hacks that need pointers google for sure u will find something
but first u must learn basics ofc if u wanna know even how to just export dll and more..
its working perfectly on me man ^^Quote:
that code wont work for you. u cant use hotkeys