You last visited: Today at 09:25
Advertisement
[TUTORIAL] Making a Trainer Using C++ in easiest way
Discussion on [TUTORIAL] Making a Trainer Using C++ in easiest way within the Cabal Guides & Templates forum part of the Cabal Online category.
05/15/2014, 14:58
#226
elite*gold: 0
Join Date: Mar 2014
Posts: 225
Received Thanks: 10
cabalmain.exe+791DD0 : zoom hack
05/20/2014, 09:56
#227
elite*gold: 0
Join Date: Nov 2013
Posts: 3
Received Thanks: 0
sir fuji ill jst ask sumthing ^_^ you also know how to create cheats using java with the use of netbeans
05/30/2014, 14:25
#228
elite*gold: 0
Join Date: Jun 2013
Posts: 4
Received Thanks: 0
this is work to WIN XP to make ?
06/05/2014, 21:09
#229
elite*gold: 0
Join Date: Dec 2013
Posts: 13
Received Thanks: 0
sir just make a cheat xD im tired to do that hahaha
06/12/2014, 23:27
#230
elite*gold: 0
Join Date: Dec 2010
Posts: 3
Received Thanks: 0
There would be some way or code to DLL to be able to duplicate items?
06/17/2014, 17:08
#231
elite*gold: 0
Join Date: Jun 2014
Posts: 1
Received Thanks: 0
sir some one send me the full code of your trainer.. tnx
08/03/2014, 14:07
#232
elite*gold: 0
Join Date: Aug 2014
Posts: 2
Received Thanks: 0
is there and example of boolean.
say the class method is called hasTimeExpired
maybe I missed it in them multiple reply pages but looking for an example.
08/11/2014, 11:37
#233
elite*gold: 0
Join Date: Jun 2014
Posts: 4
Received Thanks: 1
Quote:
Originally Posted by
FUJl
Well most of players want to learn how to create a DLL to inject in cabalmain. Now it's your turn to Create you own DLL using C++.
Take notes: making it simply or coding it in
only 1 C++ Files it will result to Complexity so i applied
Object Oriented Programming (OOP) to keep it neat, clean, easy to understand and easy to update.
Added Sampe Cheat and Used Multi Level Pointer -Change Nation
-Movement Speed
-No Cooldown BM2
-Perfect Combo
-No Skill Delay
Requirements 1.) Visual Studio 2005/2008/2010/2012
2.) Injector might be use 1.)
2.)
3.) 1.) Run
Visual Studio then Click
New Project .
2.) Click
Win32 , Select
Win32 Project then Enter the
Name of your DLL then hit
OK Button
3.) After clicking
OK Button , the next window pop-up with “Previous”,”Next”, “Finish”,”Cancel”. Click
Next Button
4.) Choose
DLL then checked
Empty Project then hit
Finish Button
5.) After clicking finish, you will see like this.
6.) On Solution Explorer you will add
2 C++ File and
2 Header File .
- Right Click on Header Files > Add > New Item > Select Header File (.h) then name it AllDefines
- Right Click on Header Files > Add > New Item > Select Header File (.h) then name it MyCheat
- Right Click on Source Files > Add > New Item > Select C++ File (.cpp) then name it MainDLL
- Right Click on Source Files > Add > New Item > Select C++ File (.cpp) then name it MyCheat This is the result after adding files.
Now will add some sample code.
AllDefines.h
Code:
//============================================================= 1.0.0.200 ========================================================
//BASE ADDRESS
#define ADDR_BASE 0x00A9B820
//MOVEMENT SPEED
#define MOVEMENT_OFFSET 0x204
//NATION (0x0370)
#define NATION_OFFSET 0x0370
//POINTER BELOW IS ONLY WORK IN WIN 7 32BIT AND 64BIT
//BM2 POINTERS
#define BM2_PTR1 0x3a0
#define BM2_PTR2 0x270
#define BM2_PTR3 0x34c
#define BM2_PTR4 0x124
#define BM2_PTR5 0x20
//PERFECT COMBO
#define CBO_MAIN1 0x3c8
#define CBO_MAIN2 0x2b0
#define CBO_PTR1 0x7d4
#define CBO_PTR2 0x7f1
//NO SKILL DELAY/SP REGEN
#define NSD_PTR1 0x3c8
#define NSD_PTR2 0x2a0
#define NSD_PTR3 0x738
//================================================================================================================================
MyCheat.h
Code:
#include "AllDefines.h"
//====================== CHANGE NATION ================================
void CHANGE_NATION()
{
if(*(DWORD*)(*(DWORD*)ADDR_BASE+NATION_OFFSET) == 3)
*(DWORD*)(*(DWORD*)ADDR_BASE+NATION_OFFSET) = 0;
else
*(DWORD*)(*(DWORD*)ADDR_BASE+NATION_OFFSET) += 1;
Sleep(500);
}
//====================================================================
//====================== MOVEMENT SPEED ==============================
void MOVE_SPEED(float Speed)
{
*(float*)(*(DWORD*)ADDR_BASE+MOVEMENT_OFFSET) = Speed;
}
//====================================================================
//THIS MULTI LEVEL OFFSET FOR BM2, COMBO AND NSD IS ONLY WORK IN WIN 7 32BIT AND 64BIT
//====================== BM2 =========================================
void NOCD_BM2()
{
DWORD *BM2_1 = (DWORD*)(*(DWORD*)ADDR_BASE + BM2_PTR1);
DWORD *BM2_2 = (DWORD*)(*(DWORD*)BM2_1 + BM2_PTR2);
DWORD *BM2_3 = (DWORD*)(*(DWORD*)BM2_2 + BM2_PTR3);
DWORD *BM2_4 = (DWORD*)(*(DWORD*)BM2_3 + BM2_PTR4);
*(DWORD*)(*(DWORD*)BM2_4 + BM2_PTR5) = 0x0;
}
//====================================================================
//====================== PERFECT COMBO ===============================
void NOCD_COMBO()
{
//SIMILAR POINTER
DWORD *MAIN_1 = (DWORD*)(*(DWORD*)ADDR_BASE + CBO_MAIN1);
DWORD *MAIN_2 = (DWORD*)(*(DWORD*)MAIN_1 + CBO_MAIN2);
//COMBO
*(DWORD*)(*(DWORD*)MAIN_2 + CBO_PTR1) = 0x0;
*(DWORD*)(*(DWORD*)MAIN_2 + CBO_PTR2) = 0x0;
}
//====================================================================
//====================== NO SKILL DELAY ==============================
void NSD()
{
DWORD *NSD_1 = (DWORD*)(*(DWORD*)ADDR_BASE + NSD_PTR1);
DWORD *NSD_2 = (DWORD*)(*(DWORD*)NSD_1 + NSD_PTR2);
*(DWORD*)(*(DWORD*)NSD_2 + NSD_PTR3) = 1629697;
}
//====================================================================
MyCheat.cpp
Code:
#include <windows.h>
#include "MyCheat.h"
void Start()
{
bool OnSpeed,OnBM2,OnCombo,OnNSD;
char * CAPTION = "My Sample DLL";
while(true)
{
//================================ CHANGE NATION ===================================================
if (GetKeyState(VK_F11) < 0) {CHANGE_NATION();}
//==================================================================================================
//================================ MOVEMENT SPEED ==================================================
if (GetKeyState(VK_F12) < 0)
{
if(!OnSpeed){
OnSpeed = true;
MessageBoxA (NULL,"Movement Speed ON",CAPTION,MB_OK);
}else{
OnSpeed = false;
MOVE_SPEED(450.0);
MessageBoxA (NULL,"Movement Speed OFF",CAPTION,MB_OK);
}
}
//==================================================================================================
//THIS BM2, COMBO AND NSD IS ONLY WORK IN WIN 7 32BIT AND 64BIT
//================================ NO COOLDOWN BM2 =================================================
if (GetKeyState(VK_F10) < 0)
{
if(!OnBM2){
OnBM2 = true;
MessageBoxA (NULL,"No Cooldown BM2 ON",CAPTION,MB_OK);
}else{
OnBM2 = false;
MessageBoxA (NULL,"No Cooldown BM2 OFF",CAPTION,MB_OK);
}
}
//==================================================================================================
//================================ PERFECT COMBO ===================================================
if (GetKeyState(VK_F9) < 0)
{
if(!OnCombo){
OnCombo = true;
MessageBoxA (NULL,"PERFECT COMBO ON",CAPTION,MB_OK);
}else{
OnCombo = false;
MessageBoxA (NULL,"PERFECT COMBO OFF",CAPTION,MB_OK);
}
}
//==================================================================================================
//================================ NO SKILL DELAY ==================================================
if (GetKeyState(VK_F8) < 0)
{
if(!OnNSD){
OnNSD = true;
MessageBoxA (NULL,"No Skill Delay ON",CAPTION,MB_OK);
}else{
OnNSD = false;
MessageBoxA (NULL,"No Skill Delay OFF",CAPTION,MB_OK);
}
}
//==================================================================================================
//================================ FREEZING VALUE ==================================================
if(OnSpeed) MOVE_SPEED(600.0);
if(OnBM2) NOCD_BM2();
if(OnCombo) NOCD_COMBO();
if(OnNSD) NSD();
//==================================================================================================
Sleep(1);
}
}
MainDLL.cpp
Code:
#include <windows.h>
extern void Start();
//=========================================================== STARTING POINT =======================================================
BOOL WINAPI DllMain ( HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
switch ( dwReason ) {
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hModule);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
MessageBoxA (NULL,"Cheat Activated","My Sample DLL",MB_OK);
break;
case DLL_PROCESS_DETACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
}
return TRUE;
}
//==================================================================================================================================
6.) Make it
Release to prevent error “
msvcp100d.dl l”
If you don’t install C++ Redistribution. You will encounter DLL problem.
DEBUG = msvcp100d.dll
RELEASE = msvcp100.dll
7.) Click
Build on Menu then
Build MySampleDLL
8.) After build DLL you will see “
Build succeeded ” Now the final step is open the Compiled DLL.
On Solution Explorer Click
Show All Files >
Right Click Release > Click
Open Folder in Windows Explorer .
You will see the
MySampleDLL.dll
Special Thanks:
-
for ep9 CE table based on Cabal NA (Support Win 7 32bit and 64bit Only)
-
for Simple C++ Code of AOE
Don't forget to HIT THANKS
sir is there any no cd skill hack. just for dummy??
08/11/2014, 13:39
#234
elite*gold: 0
Join Date: Jul 2012
Posts: 9
Received Thanks: 0
anyone can share to me the link for functional addresses in PH? tnks
09/02/2014, 01:03
#235
elite*gold: 0
Join Date: Jul 2010
Posts: 178
Received Thanks: 13
sir, why i dont see MySample.dll files on folder after build it??
pls help..
09/02/2014, 04:53
#236
elite*gold: 0
Join Date: May 2014
Posts: 1
Received Thanks: 0
CABAL APP CLOSE AFTER PRESSING HOTKEY =) NEED HELP.....
09/18/2014, 02:54
#237
elite*gold: 0
Join Date: Nov 2011
Posts: 2
Received Thanks: 0
sir is the sample codes still working or you need to look for the latest codes ? Thank you and more power ^^ .
09/22/2014, 12:08
#238
elite*gold: 0
Join Date: Sep 2014
Posts: 1
Received Thanks: 0
nice tutorial.. thanks for the help.. as I am a beginner for C++, it will be very helpful for me..
09/26/2014, 03:55
#239
elite*gold: 0
Join Date: Sep 2013
Posts: 20
Received Thanks: 2
My OS is win7 64 bit and i get DC everytime i try to connect to the sv. I do all the step as the tutorial.
What I can do now sir ?
09/27/2014, 09:27
#240
elite*gold: 0
Join Date: Sep 2012
Posts: 6
Received Thanks: 0
HOW TO UPDATE OUR OWN DLL?
Similar Threads
Easiest Way To found the true adress With Cytriik Trainer
05/07/2011 - S4 League Hacks, Bots, Cheats & Exploits - 20 Replies
You need theese
Cytriik Trainer
Process Hacker
Cheat Engine
ID List
brain.exe
Install the Cytriik trainer than open S4
Trainer will auto suspend Aegis and Aegis64
World Easiest and fastest Buff Trainer 4 free
10/09/2010 - 9Dragons - 11 Replies
Hello... why use super Wannabe Advanced buff trainers when you can just use auto keybord when you start 9D with GameGuardKiller?
is easy to use.. and it can generate tons of numbers and letters and guees what?.. deelay is 1ms.. or 99999999Ms.. ur choise.. i use this every time.. and is so trust able.. Like : Ve shield Train, Set VE shield at Number 1. then make keystroke, push number 1 then make it generate 5000 and deelay on 1000ms "1 second" or just 100 ms to be sure its fast :) then Make...
[Tutorial]Easiest way unblock ur self from GBL
02/20/2010 - Kal Online - 29 Replies
There are alot of tutorials how to bypass GBL but it is easiest way i think unblock your self from GBL (hardware ban) realy simple, and fast.
Download PBDownForce run it and press start spoofing. Also you can set up some options, but it no necessary. Just sometimes :pimp:
Sorry was not having time to make virusscan. You can do it your self here:
Jotti's malware scan
Good luck.
What is easiest tutorial in Fragment hack?
09/01/2009 - Grand Chase Philippines - 11 Replies
i want to duplicate my fragment but how? or easily to get?
All times are GMT +2. The time now is 09:26 .