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

11/28/2012 04:05 rantenor#46
To debug your program in DLL that does not have UI, make console window with AllocConsole() function. Print the messages in console that will help you figure out your DLL activities. Or you can also log the messages into text file using the FILE object in C++.

Another tip, if you're planning to share your cheat to others, always compile in "release" configuration. You're IDE is always set to default to compile in "debug" configuration, which will only allows you to run the DLL in developer's PC.

One last thing, offset addresses that come from my table are working only in Windows 7 and Windows XP SP3 with latest framework.
11/28/2012 04:12 shene#47
just like sir fuji premium warp hack

alldefines:
PHP Code:
//YXCOORDINATE
#define Y_OFFSET 0x258
#define X_OFFSET 0x254 
cheatcpp:
PHP Code:
if (GetKeyState(VK_HOME) < 0)
    *(
float*)(*(DWORD*)ADDR_BASE+Y_OFFSET) = 3636; <<ft1,ft2
    
if (GetKeyState(VK_HOME) < 0)
        *(
float*)(*(DWORD*)ADDR_BASE+X_OFFSET) = 19444; <<ft1,ft2
    
if (GetKeyState(VK_INSERT) < 0)
    *(
float*)(*(DWORD*)ADDR_BASE+Y_OFFSET) = 9760; <<s1,s2
    
if (GetKeyState(VK_INSERT) < 0)
        *(
float*)(*(DWORD*)ADDR_BASE+X_OFFSET) = 12102; <<s2,s2
    
if (GetKeyState(VK_DELETE) < 0)
    *(
float*)(*(DWORD*)ADDR_BASE+Y_OFFSET) = 17483; <<ic,rh
    
if (GetKeyState(VK_DELETE) < 0)
        *(
float*)(*(DWORD*)ADDR_BASE+X_OFFSET) = 17304; <<ic,rh 
hmmm edit the hotkey if you want i chose my own hotkey because im using loptop
no nid to activate the wallhack just go to the lakeside and warp at ic,rh just dont move or else you will disconect
11/28/2012 05:19 FUJl#48
Quote:
Originally Posted by shene View Post
just like sir fuji premium warp hack

alldefines:

PHP Code:
//YXCOORDINATE
#define Y_OFFSET 0x258
#define X_OFFSET 0x254 
cheatcpp:
PHP Code:
    if (GetKeyState(VK_HOME) < 0)
    *(
float*)(*(DWORD*)ADDR_BASE+Y_OFFSET) = 3636; <<ft1,ft2
    
if (GetKeyState(VK_HOME) < 0)
        *(
float*)(*(DWORD*)ADDR_BASE+X_OFFSET) = 19444; <<ft1,ft2
    
if (GetKeyState(VK_INSERT) < 0)
    *(
float*)(*(DWORD*)ADDR_BASE+Y_OFFSET) = 9760; <<s1,s2
    
if (GetKeyState(VK_INSERT) < 0)
        *(
float*)(*(DWORD*)ADDR_BASE+X_OFFSET) = 12102; <<s2,s2
    
if (GetKeyState(VK_DELETE) < 0)
    *(
float*)(*(DWORD*)ADDR_BASE+Y_OFFSET) = 17483; <<ic,rh
    
if (GetKeyState(VK_DELETE) < 0)
        *(
float*)(*(DWORD*)ADDR_BASE+X_OFFSET) = 17304; <<ic,rh 
hmmm edit the hotkey if you want i chose my own hotkey because im using loptop
no nid to activate the wallhack just go to the lakeside and warp at ic,rh just dont move or else you will disconect
@shene nice warp hack.... but try to use like MOVEMENT SPEED code
then use GetCurrentMap to prevent multiple hotkey...

i revise your code into single hotkey using VK_HOME only

the code will execute based on map number.

MyCheat.h
Code:
//============================= SET POSITION ==========================
void SET_POSITION(float X,float Y)
{
	*(float*)(*(DWORD*)ADDR_BASE+X_OFFSET) = X;
	*(float*)(*(DWORD*)ADDR_BASE+Y_OFFSET) = Y;
	Sleep(500);
}
//======================================================================
MyCheat.cpp
Code:
	switch(GetCurrentMap()) 
	{
		case 6://LAKESIDE
			//ILLUSION CASTLE/RADIANT HALL
			if (GetKeyState(VK_HOME) < 0){SET_POSITION(17387.89062,17631.6582);}	
			break;
		case 8://FORGOTTEN RUIN
			//FT1/FT2
			if (GetKeyState(VK_HOME) < 0){SET_POSITION(19323.57422,3670.299316);}
			break;
		case 9://MUTANT FOREST
			//ALTAIR SEINNA 1/ALTAIR SEINNA 2
			if (GetKeyState(VK_HOME) < 0){SET_POSITION(12121.22461,9827.890625);}
			break;
	}
11/28/2012 06:47 shene#49
Quote:
Originally Posted by FUJl View Post
@shene nice warp hack.... but try to use like MOVEMENT SPEED code
then use GetCurrentMap to prevent multiple hotkey...

i revise your code into single hotkey using VK_HOME only

the code will execute based on map number.

MyCheat.h
Code:
//============================= SET POSITION ==========================
void SET_POSITION(float X,float Y)
{
	*(float*)(*(DWORD*)ADDR_BASE+X_OFFSET) = X;
	*(float*)(*(DWORD*)ADDR_BASE+Y_OFFSET) = Y;
	Sleep(500);
}
//======================================================================
MyCheat.cpp
Code:
	switch(GetCurrentMap()) 
	{
		case 6://LAKESIDE
			//ILLUSION CASTLE/RADIANT HALL
			if (GetKeyState(VK_HOME) < 0){SET_POSITION(17387.89062,17631.6582);}	
			break;
		case 8://FORGOTTEN RUIN
			//FT1/FT2
			if (GetKeyState(VK_HOME) < 0){SET_POSITION(19323.57422,3670.299316);}
			break;
		case 9://MUTANT FOREST
			//ALTAIR SEINNA 1/ALTAIR SEINNA 2
			if (GetKeyState(VK_HOME) < 0){SET_POSITION(12121.22461,9827.890625);}
			break;
	}

wow sir fuji i will try this tnx for revise huhuhu i never imagine that 1 hotkey can do this but tnx anyway sir fuji ill try this when i get home i have pm u sir fuji plss pm me the addres plss plss so that i can complete my trainer:o
11/28/2012 07:36 boommat#50
sir give us some example of how we can compute the offset for winXP please ... we do not know where to add or minus to get the offset for winXP ... help us please ... so that we can make our own in winXP
11/28/2012 08:52 ChapsMan14#51
very nice tuitorial...
11/28/2012 09:42 shene#52
single hotkey yeah working sir :D

alldefine
PHP Code:
//YXCOORDINATE
#define Y_OFFSET 0x258
#define X_OFFSET 0x254 
mycheat
PHP Code:
void SET_POSITION(float X,float Y)
{
    *(
float*)(*(DWORD*)ADDR_BASE+X_OFFSET) = X;
    *(
float*)(*(DWORD*)ADDR_BASE+Y_OFFSET) = Y;
    
Sleep(500);

11/28/2012 11:09 rantenor#53
In every knowledge you gain, there's always responsibility to take.
Never let your failure to realize it, Good thing there's "learning from failures" .
But it does not mean encouraging failure to learn.
11/28/2012 12:42 FUJl#54
Quote:
Originally Posted by audreyxp2012 View Post
can anyone help me to convert the code of combo hack, NSD and No cooldown bm2 that work in windows xp sp3. thanks in advance
it is only basic logical method.....

use Calculator to find missing offset... ^^

[Only registered and activated users can see links. Click Here To Register...]
11/29/2012 00:17 rhizzu#55

how can i find the CHANNEL (STATIC ADDRESS)?
i already find the CURRENT MAP.
11/29/2012 07:02 jcoloma78#56
Quote:
Originally Posted by FUJl View Post
it is only basic logical method.....

use Calculator to find missing offset... ^^

[Only registered and activated users can see links. Click Here To Register...]
Sir Fuji, please give us a clue T_T, noobs here... are we accessing same memory address on windows 7 vs XP? I dont get it why we need a calculator to get the offset on XP.:handsdown::handsdown::handsdown:
11/29/2012 10:58 shene#57
use programer calculator or scientific calculator:o
12/01/2012 12:21 audreyxp2012#58
thanks to shene and Fuji for the tips and sharing you knowledge, skill in making a cheat code, we can use you code for reference when making other cheat games. and i think one cheat code that most needed wherein this cheat code is not public and this is the "wallhack" hope you can share us the code or send it thought PM the code for those interested to learn like me.
12/01/2012 13:24 shene#59
i will pm you my code at wh but 1st tell me where you from or wht country where you from.
if your in my country i will never give it to you because many player ruin mwar in my country now
if i ever give my code to you use it in dungeon plsss not in mwar

just give SIR FUJI and Wayntressierts for a very very big thanks

FUJI:for helping me and giving me value of no ????? skill :D

Wayntressierts:for giving me wallhack method in c++ but got angry to me for being low IQ but i have perfect my wallhack tnx to wayn
hope we can be frend here in elite:o

sory for my bad english:)


can anyone give me addres or how to scan no cooldown dash and fade:confused:
12/01/2012 14:47 audreyxp2012#60
Quote:
Originally Posted by shene View Post
i will pm you my code at wh but 1st tell me where you from or wht country where you from.
if your in my country i will never give it to you because many player ruin mwar in my country now
if i ever give my code to you use it in dungeon plsss not in mwar

just give SIR FUJI and Wayntressierts for a very very big thanks

FUJI:for helping me and giving me value of no ????? skill :D

Wayntressierts:for giving me wallhack method in c++ but got angry to me for being low IQ but i have perfect my wallhack tnx to wayn
hope we can be frend here in elite:o

sory for my bad english:)


can anyone give me addres or how to scan no cooldown dash and fade:confused:
thank you for immediate reply. i know there are lots of players used wallhack and other cheat in MWAR this is the reason why i dont play MWAR for the past months, i'm just focus on dungeon.