how to create a cabal trainer?

09/06/2012 22:01 skepjen#1
can you please give me a tutorial on how to create a cabal trainer? if its ok ^^

:handsdown::handsdown::handsdown::handsdown::hands down:
09/06/2012 22:08 drax189#2
learn c++/other language basics first just google theres millions of them
09/07/2012 01:44 feliz009#3
Quote:
Originally Posted by drax189 View Post
learn c++/other language basics first just google theres millions of them
he´s asking for a tutorial , you think he will learn to code from one day to other?if that was easy...
09/07/2012 01:58 genesisVI#4
actually its easy if u only want AOE/RANGE

u just nid a compiler , i use visual studio 2010

and a sample code

PHP Code:
#include "windows.h"

#define    ADDR_GM      0x1075C48
#define    ADDR_AOE     0x10C62FC
#define    ADDR_RANGE   0x10C62F8

void Start();

BOOL APIENTRY DllMain(HMODULE hModuleDWORD ulReasonLPVOID lpReserved)
{
    if (
ulReason == DLL_PROCESS_ATTACH)
    {
        
CreateThread(00, (LPTHREAD_START_ROUTINE)Start000);
    }

    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);
    }

dont ask me where to put these codes

ask google

u nid to edit the addresses that fits ur server
09/07/2012 09:12 skepjen#5
Quote:
Originally Posted by genesisVI View Post
actually its easy if u only want AOE/RANGE

u just nid a compiler , i use visual studio 2010

and a sample code

PHP Code:
#include "windows.h"

#define    ADDR_GM      0x1075C48
#define    ADDR_AOE     0x10C62FC
#define    ADDR_RANGE   0x10C62F8

void Start();

BOOL APIENTRY DllMain(HMODULE hModuleDWORD ulReasonLPVOID lpReserved)
{
    if (
ulReason == DLL_PROCESS_ATTACH)
    {
        
CreateThread(00, (LPTHREAD_START_ROUTINE)Start000);
    }

    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);
    }

dont ask me where to put these codes

ask google

u nid to edit the addresses that fits ur server

ty sir i already downloaded a visual studio c++ ill try it now ^^
09/07/2012 10:00 кev#6
Quote:
Originally Posted by genesisVI View Post
and a sample code
How about giving credit where credit is due?
09/07/2012 13:44 skepjen#7
i got a proble after i start debugging it says. unable to start program blah blah blah... and at the buttom access denied
09/07/2012 13:57 кev#8
Quote:
Originally Posted by skepjen View Post
i got a proble after i start debugging it says. unable to start program blah blah blah... and at the buttom access denied
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
09/07/2012 14:04 kheem_t#9
Quote:
Originally Posted by кev View Post
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
it would be nice if you could for us noobs
so other noober than me can stop begging :D
09/07/2012 18:46 drax189#10
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..
09/07/2012 19:19 joci9#11
Quote:
Originally Posted by drax189 View Post
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..
that code wont work for you. u cant use hotkeys
09/07/2012 21:35 skepjen#12
1>------ Build started: Project: Trainer, Configuration: Release Win32 ------
1> Form1.cpp
1> MainDLL.cpp
1> Generating code
1> Finished generating code
1> Trainer.vcxproj -> c:\users\xian\documents\visual studio 2010\Projects\Trainer\Release\Trainer.dll
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
[Only registered and activated users can see links. Click Here To Register...]





yeeeeeeeeeeeeeeeeeeeeeeeeeeessssssssssssssssssssss ssssss!!!!!!!!!!!
atlast ive successfully create a working trainer wooooooooooo!

tnx so much sir genisis! ^^

Quote:
Originally Posted by joci9 View Post
that code wont work for you. u cant use hotkeys
its working perfectly on me man ^^
09/08/2012 01:13 bartbilf#13
Quote:
Originally Posted by кev View Post
How about giving credit where credit is due?
@genesisVI
like kev said, give the credits (or post the link instead of the sample code), this is code from PSCBots' thread
09/08/2012 02:07 genesisVI#14
oh yah sorry about that im on a hurry :D
here
[Only registered and activated users can see links. Click Here To Register...]

u could find some hints there on the comments like how to freeze a value
and multi lvl pointers just read the thread and i think its on page 11 that sample codes posted :D

just do a little reading
09/08/2012 06:36 razor45366#15
i wanna learn!... i think dev c++ can compile but its not effective