ServerDev Development Community

We Want You (Editors, Developers) Let's Code
 
HomeRegisterLog in

Share | 
 

 [TUTORIAL]Making a Trainer using C++ in easiest way

View previous topic View next topic Go down 
AuthorMessage
RON
Administrator
Administrator
avatar

Posts : 63
Join date : 2013-09-08
Age : 20

PostSubject: [TUTORIAL]Making a Trainer using C++ in easiest way   Sun Sep 08, 2013 5:39 pm

[TUTORIAL] Making a Trainer Using C++ in easiest way

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.) Microsoft Visual C++ 2010 Redistributable Package (x86)
Injector might be use
1.) Airdrop Injector
2.) PerX Injector
3.) Asian Injector 3

1.) Run Visual Studio then Click New Project.
Spoiler:
Spoiler:
 

2.) Click Win32, Select Win32 Project then Enter the Name of your DLL then hit OK Button.
Spoiler:
Spoiler:
 

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.
Spoiler:
Spoiler:
 

5.) After clicking finish, you will see like this.
Spoiler:
Spoiler:
 

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.
Spoiler:
Spoiler:
 

Now will add some sample code.
AllDefines.h
Spoiler:
Spoiler:
 

MyCheat.h
Spoiler:
Spoiler:
 

MyCheat.cpp
Spoiler:
Spoiler:
 

MainDLL.cpp
Spoiler:
Spoiler:
 

6.) Make it Release to prevent error “msvcp100d.dll
If you don’t install C++ Redistribution. You will encounter DLL problem.
DEBUG = msvcp100d.dll
RELEASE = msvcp100.dll
Spoiler:
Spoiler:
 

7.) Click Build on Menu then Build MySampleDLL
Spoiler:
Spoiler:
 

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.
Spoiler:  
Spoiler:
 

You will see the MySampleDLL.dll
Spoiler:
Spoiler:
 

Special Thanks:
-rantenor for ep9 CE table based on Cabal NA (Support Win 7 32bit and 64bit Only)
-PSCBots for Simple C++ Code of AOE

Don't forget to HIT THANKS
Back to top Go down
http://serverdevelopment.forumtl.com
 
[TUTORIAL]Making a Trainer using C++ in easiest way
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Instant Mold Tutorial
» Hot Toys making Indiana Jones figures, hints at Star Wars as well...
» Great Tank and Weathering tutorial
» Black Reach Termie Conv. with Lightning Claws
» Power Sword Tutorial (with more to follow)

Permissions in this forum:You cannot reply to topics in this forum
ServerDev Development Community :: Coders Den :: General Coding :: Coding Tutorials-
Jump to: