ac1d's LTClient pattern is incorrect so the address is wrong.
Hello you guys, I have just finished the portion in my C++ Primer on addresses and pointers, and I am going to see if I can try and figure something out on my own a little bit here, as I go with SOME of the hacking methods. I wanna start out slow. I have been doing some searching around the forums a little bit here, and can't seem to find a working PTC Method.
I tried CNs PTC Method:
[php]
/*void [REALcodersWILLknowWHATgoesHERE](const char* Command)
{
DWORD CNADDIE = 0x377E7***;
void* Send = ( void* )*( DWORD* )(CNADDIE);
__asm
{
/* CREDITS TO CN
push Command;
call Send;
add esp, -3-1+2+6;
}
}*/
[/php]
I know the comment tags are on it. It's there for a reason. ;-) Anti-noob.
...and I have also tried the standard one, that was referred to on CNs cham tutorial.
[php]
//void __cdecl [AGAINyouSHOULDknowTHIS]( const char* szCommand ) // -+
//{ // |
// DWORD *LTClient = ( DWORD* )( 0x377E7*** ); // |
// void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 ); // |
// __asm // |
// { // |--- Standard PushToConsole method.
// push szCommand; // |
// call CONoff; // |
// add esp, 4; // |
// } // |
//} // -+
[/php]
I don't know if it's possibly the LTClient, but I got it from ac1d_buRn's addy logger, so I am SURE it's the right one.
But everytime I load my hack on CA it DC, everytime.
EDIT: I am not like yomo. I am actually learning, and I am not going to post this shit and act like I am a pro coder. :P
Credits:
CoderNever - tutorial for NX Chams
ac1d_buRn - Address logger
Last edited by DBag4Life69; 09-10-2010 at 01:45 PM.
ac1d's LTClient pattern is incorrect so the address is wrong.
This works for me.void __cdecl PushToConsole(const char* szCommand )
{
HMODULE hMod = GetModuleHandleA("CShell.dll");
if(hMod == NULL)
return;
int* ltClientAddr = (int*) 0x377E7810;
typedef int (*ptc_t)(const char *);
ptc_t ptc = *(ptc_t*) (*ltClientAddr + 0x208);
ptc(szCommand);
}
Not sure who made it. Markoj i think.
You may have to change a thing or two depending on what base your using.
Last edited by ★Rusty; 09-10-2010 at 02:13 PM.
DBag4Life69 (09-10-2010),markoj (09-11-2010),Sydney (09-12-2010)
use alternative console.
Oh and also, you are using the LTC as teh CNaddie, they are different / CNaddie is also known as alt PTC
markoj (09-11-2010)
CNADDIE = Alt. PTC
new one is 0x46F670
DBag4Life69 (09-10-2010)
lmfao. I got the one that is by markoj working, so I can't say I am in the n00b category anymore. :P
But I am still learning, so I don't consider myself even CLOSE to pro, or even average yet...
I am just gonna go day by day, reading and learning until I get to where I become fluent in C++.
I can pretty much understand it at this point I am at, but I want to get to where I can just sit here and think about some code and put it all together to make one GREAT thing. That's my goal.