HelpRunConsoleCommand

Posts 115 of 33 · Page 1 of 3
RunConsoleCommand
Is anyone else having combat arms crash within a minute of injecting using RunConsoleCommand. My address isn't wrong, I just updated them this morning after yesterdays maintenance. Everything else works fine just anything that using runconsolecommand is causing a crash.

Im using
Code:
void __cdecl Console( const char* szCommand ) 
{ 
    static DWORD rccAdr = NULL;

	if(!rccAdr)
		rccAdr = dwLTClientEXE;

	typedef void(__cdecl*RunConsoleCommandFn)(const char*,int&);
	RunConsoleCommandFn RunConsoleCmd = (RunConsoleCommandFn)rccAdr;

	int v4;
	RunConsoleCmd(szCommand,v4);
}
it wll be hard fix your problem if you don't post the LTClientEXE address.
Quote Originally Posted by XarutoUsoCrack View Post
it wll be hard fix your problem if you don't post the LTClientEXE address.
Code:
#define LTClientEXE        0x490610
JFYI youre creating a random filled inetger with
Code:
int v4;
And pass it later on to the function. This is probably NOT your crashing problem, but you should pass 0 instead os a random number of your RAM
Code:
#define LTClientEXE        0x490610

VOID RunConsoleCommand(const char* cmd)
{
	_asm
	{
		PUSH cmd
		MOV EAX, LTClientEXE
		CALL EAX
		ADD ESP, 0x4
	}
}

	if (NXchams) {
		RunConsoleCommand("+SkelModelStencil 1");
	}
	else {
		RunConsoleCommand("+SkelModelStencil 0");
	}
@Coder.DiasII I couldn't quote because mpgh kept freezing. But combat arms is still crashing to the ending banner within a minute after injecting. I have tried using encrypted and regular strings they both cause the same crash. within a minute. I honestly don't know what could be wrong since everything else works fine.
the reason you are crashing is if you get ModelLT from LTClient, you will crash after like 5 minutes or some shit, same thing happens in CA EU and NA Now.
Quote Originally Posted by Timboy67678 View Post
the reason you are crashing is if you get ModelLT from LTClient, you will crash after like 5 minutes or some shit, same thing happens in CA EU and NA Now.
So they added a check in their virtual function? Retards
Just print out the address and take a look at the function
Quote Originally Posted by Ch40zz-C0d3r View Post
So they added a check in their virtual function? Retards
Just print out the address and take a look at the function
GetModelLT is the only virtual function of ltclient they added a check for (probably also sendtoserver) but yer you can just get ltmodel other ways
Quote Originally Posted by Timboy67678 View Post
GetModelLT is the only virtual function of ltclient they added a check for (probably also sendtoserver) but yer you can just get ltmodel other ways
Wat ?

Are you fucking kidding me ? They can't add a check to LTModel, you don't modify anything in code, your just use Engine Code, please, study LithTech Engine before post anything here.
Quote Originally Posted by Skaterforeva1 View Post
@Timboy67678 What does that have to do with runconsolecommand?
nothing, if runconsolesommand is the only thing you have in your hack and you aren't using LTModel then never mind, im just sayin
@XarutoUsoCrack, didnt really want to reply, just thought i would clarify i was talking about the ILTCSBase::GetModelLT Member function, as shown in the NOLF SDK:



not the class itself.

Nexon probably added some sort of check to see if its called from CShell or Engine. Thats all im saying. no need to be so rude...
you can easy use these functions using ASM.
Quote Originally Posted by XarutoUsoCrack View Post
you can easy use these functions using ASM.
That wasn't the question, he was just trying to help troubleshoot a problem and inform others of changes that were made.
You said: "They Can't Add A Check To LTModel, You Don't Modify Anything In Code"

I have 2 suggestions;
1) http://www.wikihow.com/Capitalise-Correctly
2) He is talking about calling the function that returns the pointer, you can implement checks to see what section of code is calling the function and check that way.

No need to be so rude...

Posts 115 of 33 · Page 1 of 3

Post a Reply

Tags for this Thread

None

Need help?