Pushing commands

Posts 115 of 34 · Page 1 of 3
Pushing commands
Here is an alternative to the ASM since some people think it disconnects them:

Can't even remember where I got this...

Code:
class cILTClient
{
public:
    char offset[520];
    int ( *RunConsoleCommand ) ( char* szCommand );
};
Then to use :

Code:
cILTClient *ILTClient = *(cILTClient**)0xILTCLIENTADDRESS;

ILTClient->RunConsoleCommand("ShowFps 1");
Also : You must make sure to wait for CShell before setting the variable, I will not answer any question about why it crashes because that is most likely the reason.
Might also be a good time to use IsBadReadPtr, but I have little experience with that.

The pointer in question is 0xILTCLIENTADDRESS and the data it points at. If 0xILTCLIENTADDRESS and *0xILTCLIENTADDRESS are valid pointers, chances are you are in the money.

while (IsBadReadPtr(0xILTCLIENTADDRESS) || IsBadReadPtr(0xILTCLIENTADDRESS))
Sleep(100);
cILTClient *ILTClient = *(cILTClient**)0xILTCLIENTADDRESS;

This way, it might not crash when/if RunConsoleCommand's offset changes. (If Nexon were smart, it'd change every update to keep you guys on your toes.

Thanks crash
Quote Originally Posted by HL-SDK View Post
Might also be a good time to use IsBadReadPtr, but I have little experience with that.

The pointer in question is 0xILTCLIENTADDRESS and the data it points at. If 0xILTCLIENTADDRESS and *0xILTCLIENTADDRESS are valid pointers, chances are you are in the money.

while (IsBadReadPtr(0xILTCLIENTADDRESS) || IsBadReadPtr(0xILTCLIENTADDRESS))
Sleep(100);
cILTClient *ILTClient = *(cILTClient**)0xILTCLIENTADDRESS;

This way, it might not crash when/if RunConsoleCommand's offset changes. (If Nexon were smart, it'd change every update to keep you guys on your toes.

Thanks crash
Wait why IsBadReadPtr(...) twice it doesn't make sense..

And waiting for CShell stops it from being a null pointer though I suppose your way works too. Most declare it globally so it crashes for them...
Quote Originally Posted by HL-SDK View Post
Might also be a good time to use IsBadReadPtr, but I have little experience with that.

The pointer in question is 0xILTCLIENTADDRESS and the data it points at. If 0xILTCLIENTADDRESS and *0xILTCLIENTADDRESS are valid pointers, chances are you are in the money.

while (IsBadReadPtr(0xILTCLIENTADDRESS) || IsBadReadPtr(0xILTCLIENTADDRESS))
Sleep(100);
cILTClient *ILTClient = *(cILTClient**)0xILTCLIENTADDRESS;

This way, it might not crash when/if RunConsoleCommand's offset changes. (If Nexon were smart, it'd change every update to keep you guys on your toes.

Thanks crash
Put this shit in code
Very nice thanks i will make shur to use
[php]class cLTClient{
public:
char unknown1[160];
void ( WINAPIV * GetObjectPos)(HOBJECT obj, D3DXVECTOR3 *Rotation);
void ( WINAPIV * GetObjectRotation)(HOBJECT obj, D3DXVECTOR3 *Pos);
char unknown2[352];
void ( WINAPIV * RunConsoleCommand )( const char *szCommand );
};[/php]

right?
it works for me^^ u confused me cause u have int RunConsoleCommand xD

EDIT:
check it now.. xD
Quote Originally Posted by kotentopf View Post
[php]class cLTClient{
public:
char unknown1[160];
void ( WINAPIV * GetObjectPos)(HOBJECT obj, D3DXVECTOR3 *Rotation);
void ( WINAPIV * GetObjectRotation)(HOBJECT obj, D3DXVECTOR3 *Pos);
char unknown2[352];
void ( WINAPIV * RunConsoleCommand )( const char *szCommand );
};[/php]

right?
it works for me^^ u confused me cause u have int RunConsoleCommand xD

EDIT:
check it now.. xD



I'm a little confused kotentopf. What is HOBJECT?
Quote Originally Posted by seeplusplus View Post
I'm a little confused kotentopf. What is HOBJECT?
[php]struct LTVector{//define a 3D coordinate (x,y,z)

float x;
float y;
float z;

};

struct LTObject{//define the Postion by CA (Offsets C8,CC,D0)

char offset[0xC8];
LTVector Pos;

};
typedef LTObject *HOBJECT;//define our new type "HOBJECT"[/php]

and now?
Is it like a new PTC function?
Quote Originally Posted by Gab View Post
Is it like a new PTC function?
Yes it is.
Ok thank u.
Hmm looks like somethin you would see from ghoster or gellin..
But nice find
I hope I,tll will help me with my hack ^^
aww its out now :[ i was keeping it hidden but o well
yes this works
Nice Release, tested, works
*thanked
Posts 115 of 34 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?