Pushing commands

Posts 16–30 of 34 · Page 2 of 3
Quote Originally Posted by -InFinity View Post
Put this shit in code
No, it already is! Trust me

IsBadReadPtr is there because if the hack gets loaded before any other DLLS, it will crash when it tries to read the LTwhatever address. The things in the while() part are evaluated from left to right - if the first is true and it is an OR expression, evaluation of the second will be skipped. This ensures all addresses are in order.
[php]
class cLTClient{
public:
DWORD unknown1[0x28];
void ( WINAPIV * GetObjectRotation)(HOBJECT obj, D3DXVECTOR3 *Rotation);
void ( WINAPIV * GetObjectPosition)(HOBJECT obj, D3DXVECTOR3 *Pos);
DWORD unknown2[0x58];
void ( WINAPIV * RunConsoleCommand )( const char *szCommand );
DWORD unknown3[0x05];
LTRESULT ( WINAPIV * GetObjectScale)(HOBJECT hObj, float* pScale);
DWORD unknown4[0x01];
virtual LTRESULT SetObjectScale(HOBJECT hObj, float fScale) = 0;
virtual LTRESULT GetObjectColor(HLOCALOBJ hObject, float *r, float *g, float *b, float *a) = 0;
virtual LTRESULT SetObjectColor(HLOCALOBJ hObject, float r, float g, float b, float a) = 0;
}; [/php]

I didn't edit the notation, sorry.
[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[0x9C];
LTVector Scale;

char offset[0x20];
LTVector Pos; // Starts at 0xC8

LTVector Rot; // Starts at 0xD4

};
typedef LTObject *HOBJECT;//define our new type "HOBJECT" [/php]
Quote Originally Posted by seeplusplus View Post
I'm a little confused kotentopf. What is HOBJECT?
You code VIP.

You must be da best
haha thats what i use
thanks man
I swap this method for a hack I'm working on, I start getting a new errors:

1) error C2153: hex constants must have at least one hex digit
2) error C2059: syntax error : 'bad suffix on number'
3) error C2146: syntax error : missing ';' before identifier 'ILTCLIENTADDRESS'
4) error C4430: missing type specifier - int assumed. Note: C++ does not support default-int.

The old PPush method was not giveing any errors at all.
Quote Originally Posted by DreadKyller View Post
I swap this method for a hack I'm working on, I start getting a new errors:

1) error C2153: hex constants must have at least one hex digit
2) error C2059: syntax error : 'bad suffix on number'
3) error C2146: syntax error : missing ';' before identifier 'ILTCLIENTADDRESS'
4) error C4430: missing type specifier - int assumed. Note: C++ does not support default-int.

The old PPush method was not giveing any errors at all.
. . .

I've got Nothin but pity for you.
this is how you put it guys

Example:
[php]bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
// Make sure CShell Loaded.
class cILTClient
{
public:
char offset[520];
int ( *PushToConsole ) ( char* szCommand );
};

// Than you do this.
cILTClient *ILTClient;

void main()
{
ILTClient = *(cILTClient**)0x377ED910 ;
while(true)
{
// Show FPS
ILTClient->PushToConsole("ShowFps 1");
[/php]
Quote Originally Posted by UGodly View Post
this is how you put it guys

Example:
[php]bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
// Make sure CShell Loaded.
class cILTClient
{
public:
char offset[520];
int ( *PushToConsole ) ( char* szCommand );
};

// Than you do this.
cILTClient *ILTClient;

void main()
{
ILTClient = *(cILTClient**)0x377ED910 ;
while(true)
{
// Show FPS
ILTClient->PushToConsole("ShowFps 1");
[/php]

well u could have kept some of this and let the leechers figure the rest lol :P
Quote Originally Posted by UGodly View Post
this is how you put it guys

Example:
[php]bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
// Make sure CShell Loaded.
class cILTClient
{
public:
char offset[520];
int ( *PushToConsole ) ( char* szCommand );
};

// Than you do this.
cILTClient *ILTClient;

void main()
{
ILTClient = *(cILTClient**)0x377ED910 ;
while(true)
{
// Show FPS
ILTClient->PushToConsole("ShowFps 1");
[/php]
LOL. (short)
Quote Originally Posted by LightzOut View Post
LOL. (short)
what is LOL IN HERE???
OMG, this still works after the recent patch...
[php]
int ( *RunConsoleCommand ) ( char* szCommand );

RunConsoleCommand PushToConsole;

PushToConsole = (RunConsoleCommand) GetProcAddress(
GetModuleHandle(TEXT("CShell.dll")),
"RunConsoleCommand");

if(NULL != PushToConsole)
PushToConsole("ShowFPS 1");

[/php]
Quote Originally Posted by topblast View Post
[php]
int ( *RunConsoleCommand ) ( char* szCommand );

RunConsoleCommand PushToConsole;

PushToConsole = (RunConsoleCommand) GetProcAddress(
GetModuleHandle(TEXT("CShell.dll")),
"RunConsoleCommand");

if(NULL != PushToConsole)
PushToConsole("ShowFPS 1");

[/php]
what is this? it not do anything.
Quote Originally Posted by DreadKyller View Post
what is this? it not do anything.
LEARN TO CODE NOOOOOOOOOOOOOB!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


HOW THE FUCK IS THAT NO DO ANYTHING!!!!!!!!!!!

IT GETS THE POINTER FOR U BITCH!!!!!!!!!!!!!

lol this coming from a dude who cant even make a HOTKEY HACK, nor a menu..

u wanna see my hack bitch


Quote Originally Posted by topblast View Post
[php]
int ( *RunConsoleCommand ) ( char* szCommand );

RunConsoleCommand PushToConsole;

PushToConsole = (RunConsoleCommand) GetProcAddress(
GetModuleHandle(TEXT("CShell.dll")),
"RunConsoleCommand");

if(NULL != PushToConsole)
PushToConsole("ShowFPS 1");

[/php]
._.

That's junk code :L

Quote Originally Posted by topblast View Post


LEARN TO CODE NOOOOOOOOOOOOOB!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


HOW THE FUCK IS THAT NO DO ANYTHING!!!!!!!!!!!

IT GETS THE POINTER FOR U BITCH!!!!!!!!!!!!!

lol this coming from a dude who cant even make a HOTKEY HACK, nor a menu..

u wanna see my hack bitch


You didn't show anything of use - oh wow DirectX stuff. Nothing to do with consoles.
Quote Originally Posted by freedompeace View Post
You didn't show anything of use - oh wow DirectX stuff. Nothing to do with consoles.
Ofc it's not. you wanna se a pic of my anti kick and god mode that have been made into console commands that I was able to put into my menu?
Posts 16–30 of 34 · Page 2 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?