Source Code Example

Posts 3144 of 44 · Page 3 of 3
dam dis is all liek rock0t scienc3
Quote Originally Posted by NOOB View Post
dam dis is all liek rock0t scienc3
MPGH Official Troller
leeched most likely
DIZ NOOB BE Pr0ER THAN THE CODERS AT NEX0N (100% serious no sarcasm, he has 0 knowledge of C++ and can code better than nexon. )
This is useless..

How could this help noobs if it is old?

By the way
SAY CAPE HORN 10 TIMES FAST!!
I'm new to this and you guys are dogs . . . I liked ***************** better they cared...

Quote Originally Posted by Chocolate[Coder] View Post
I'm new to this and you guys are dogs . . . I liked ***************** better they cared...
Also It is'nt leeched and my IsGameReadyForHook I didnt load the Combat Arms .dll's for some reson it was on Grand Chase's...
Chocolate, if you need help with coding you could ask before showing you could code combat arms hacks.
It is not leeched in the IsGameReadyForHook thing it is on Grand Chase dll's so ya. Keep criticism coming i wanna be a pro like you guys.

Hey Noob. . . I admired you but your mean -.-. . .
Quote Originally Posted by Chocolate[Coder] View Post
It is not leeched in the IsGameReadyForHook thing it is on Grand Chase dll's so ya. Keep criticism coming i wanna be a pro like you guys.

Hey Noob. . . I admired you but your mean -.-. . .
It isn't being mean, it's being honest.

Your code is obviously 100% leeched, you may be oblivious at the moment because you haven't had enough experience in coding. There's no indentation, the variable names are used EVERYWHERE OMG DO YOU EVEN KNOW WHAT HUNGARIAN NOTATION IS? Ahem, moving on. IsGameReadyForHook, I can't tell you how many times I've seen the same function name for when people post their code.

I love how you commented that last function, the one before the main function. You don't know about any calling conventions, you don't know how to describe a function "call", you don't know what return does.

LAST BUT NOT LEAST, L2FUCKINGCOMMENT
Code:
//COMMENT HERE

/*COMMENT
HERE*/
[HIGHLIGHT=C++]#include <windows.h>

//to start off I use the bool IsGameReadyForHook
bool IsGameReadyForHook()
{
if(GetModuleHandleA( "bugtrap.dll" ) != NULL
&&(GetModuleHandleA( "dbghelp.dll" ) != NULL
&&(GetModuleHandleA( "kncfirewall.dll" ) != NULL))
)
return true;
return false;
} //This identifies when the game is up and running and tells your dll to activate.

//Then after I give my PushToConsole definition.
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x3718BF20 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
} //This tells the program if PushToConsole("~~~"); then //make the program that you injected the Dll into to do the //commands that are in you PushToConsole parenthesis.

//Next I make my main void where all the meat of my program goes.
void main()
{
while(true)
{
if(GetAsyncKeyState(VK_UP)&1)
{
PushToConsole("PlayerJumpVelocity 800.000000");
PushToConsole("PlayerGravity -800");
}

if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
PushToConsole("ActivationPickupDistance 999.999999");
}
} //(I made with two old PTC commands.)

//After I make my dwHackThread that tells you dll what to //do when injected.
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
main();
return 0;
} //In this code i told it to spam the IsGameReadyForHook //which indicates when the game is open and so your //computer will not lagg i made a 100 milisecond wait. After //i put main(); to tell them to use the main(); when it is //activated and return 0; when you are finished.

//Last I make the Injection function so when you inject it //this is what it does.
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
MessageBoxA(0, "Hack Injection Succeded (Coded By: T7076o6o", "Succesful", 0);
}
return TRUE;
} [/HIGHLIGHT]

looks bettar.
Quote Originally Posted by NOOB View Post
wtf is a bool?

I pushed edit instead of quote oops.
Quote Originally Posted by AVGN View Post


I pushed edit instead of quote oops.
If I was minion ... oooh I would fuck shit up.
ehh looks like C&P To me. But good job for the effort?
Noob...

Why would you post that picture!?

There are way better ones out there..


SAY CAPE HORN 5 TIMES FAST!!!
Posts 3144 of 44 · Page 3 of 3
This thread is closed for replies.

Tags for this Thread

Need help?