[Release][C++ Code] GM/AOE/Range

07/17/2012 04:03 PSCBots#1
Well, I've got alot of pms asking me how ive done my bot without getting any detection.
Its seems that this community is thinking that nothing can be done without a bypass.

WRONG!

You cant patch memory in cabalmain.exe but you can modify temporary values of the game, such as the GM variables and more without being detected.

Here is the code for making a DLL that enable GM/AOE/Range when pressing F11 and disabling with F12.

Hope it will give a head start for people WHO REALLY WANT TO LEARN.
Those addresses are for Cabal EU.

All you have to do is compile this code and inject the DLL into 'cabalmain.exe'.
Any injector should do the job.

PHP Code:
#include "stdafx.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);
    }




TeraHack
07/17/2012 04:29 osyris124#2
Thank you for the codes sir.. Now we can try to make our own DLL file..
Keep on sharing sir! :salute:
07/17/2012 05:09 genesisVI#3
hahah my wish has been granted ....
07/17/2012 05:20 feiver2000#4
thanks sir u a my hero i can learning a noob c++ with this
07/17/2012 06:34 osyris124#5
With this code of yours.a Noob Programmer can start with this.. thank you again!
Hope you can share more knowledge of yours.. XD
07/17/2012 07:44 damn_men#6
very nice one~~it will really help alot,,thanks for this sir
07/17/2012 10:01 feiver2000#7
@pscbot
i compile u code
PHP Code:
#include <windows.h>

#define    ADDR_GM      0x1075C40
#define    ADDR_AOE     0x10C62DC
#define    ADDR_RANGE   0x10C62D8

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

and inject it but in game i press f11 but it nothing happen can u tell me where the error??
(i get notthing error in compile )
07/17/2012 11:51 gensler#8
Can you make more OPTIONS TNX for PH...
07/17/2012 12:27 genesisVI#9
@feiver2000
maybe wrong addys or wrong header declaration ... :D
hope i helped :D
07/17/2012 16:03 feiver2000#10
ok thx for tell me now it compile n works
07/17/2012 17:10 envylang#11
did u read ur error/s..from ur compiler ?
07/17/2012 17:24 ANTEC15#12
tnx for this post sir,, i can start now studying how to make a dll files tnx 4 this ^^
07/17/2012 19:32 ibonehj15#13
Quote:
Originally Posted by feiver2000 View Post
ok i ty search on google and edit it
this is my main.cpp
PHP Code:
#include <stdio.h>
#include <stdlib.h>
#include "coba.h"
#include <windows.h>

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

and this is my header
PHP Code:
#ifndef __COBA_H
#define __COBA_H
#define WIN32_LEAN_AND_MEAN 
#endif

#define    ADDR_GM      0x1075C40
#define    ADDR_AOE     0x10C62DC
#define    ADDR_RANGE   0x10C62D8 
some one help me where my error???
im not a guy who can read those codes/scripts.
but i guess its the timing u inject it. hope that wud be helpful enough :D
07/17/2012 22:34 Zivotinja1232#14
guys cant u just make an upload of cabalmain.exe and dll injector why so many questions and guids its easyer so
07/17/2012 22:39 WrongArrow#15
Quote:
Originally Posted by Zivotinja1232 View Post
guys cant u just make an upload of cabalmain.exe and dll injector why so many questions and guids its easyer so
Why do you need cabalmain? Oo
There is no need for bypass...