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]
Last edited by HL-SDK; 10-12-2010 at 06:34 PM.
loksmith is a fucking moron
MEkhi2 (10-30-2010),Timboy67678 (10-13-2010)
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.
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]
flameswor10 (10-14-2010),skiiiz (10-29-2010)
DONT FORGET TO PRESS THE THANKS BUTTON
accomplishment list:
post 5 times []
post 10 times []
post 50 times[]
post 100 times[]
begin to learn coding[]
code first program []
code second program[]
code first hack []
code a awsome hack[]
become a member[]
become a well known[]
get a unbeliavable[]
get an unbeliavble+[]
get called a haxor without hacking[]
hack without being called a hacker[]
RESPECT LIST:
[MPGH]Dave84311
[Mpgh]Liz
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]
Last edited by topblast; 10-22-2010 at 11:40 AM.
I just like programming, that is all.
Current Stuff:
- GPU Programmer (Cuda)
- Client/Server (Cloud Server)
- Mobile App Development
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
Last edited by topblast; 10-22-2010 at 02:00 PM.
I just like programming, that is all.
Current Stuff:
- GPU Programmer (Cuda)
- Client/Server (Cloud Server)
- Mobile App Development
ac1d_buRn (10-22-2010)