[Tutorial] Triggerbot Class

Posts 1–11 of 11 · Page 1 of 1
[Tutorial] Triggerbot Class
Written By Cobra and Str8Soulja
Game:WarRock
Here is a simple Triggerbot class that you can add to trainers, and if smart enough D3D's

Add these to the Globals
[PHP]#define PROP_VEHICLES 0x1
#define PROP_CHARACTER 0x2
#define PROP_OBJECTS 0xFF
DWORD Active;
HANDLE Control;[/PHP]

This is your Function

[PHP]
void log(char * towrite, char * filepath)
{
char * logbuf;
FILE * fp;
logbuf = ( char * )towrite;

if( (fp = fopen ( filepath , "addy")) != NULL )
{
fprintf ( fp, "%s\n", logbuf );
fclose (fp);
}[/PHP]

Put this in a Timer(trainers)

[PHP]
{//Characters
memory();
ReadProcessMemory( Control, (LPVOID*)0x8F544C, &Active, sizeof( BYTE ), NULL);
if( Active == PROP_CHARACTER)
mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );
else if ( Active != PROP_CHARACTER)
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );

}


{//Vehicles
memory();
ReadProcessMemory( Control, (LPVOID*)0x8F544C, &Active, sizeof( BYTE ), NULL);
if( Active == PROP_VEHICLES )
mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );
else if ( Active != PROP_VEHICLES )
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );
}[/PHP]
lol you have totaly lost me is this vb
or c++
i think this is c++ but i am not to shure lol if it is i am having trouble getting ot to wotk i no jak shizzal
making my own hack: think will be useful
give credits to k0nspire?
k0nspire? maybe to ***? Str8soulja is a co-coder there for the hacks lol - he knows enough about hacking so he doesnt leech...
k0nspire is ****** from t(g).s.
He made one too but i guess that one is different.
ty i will decipher that later
Its VERY Similar to the coding above.
Is C++ is better or VB6
Quote Originally Posted by cjg333 View Post
Written By Cobra and Str8Soulja
Game:WarRock
Here is a simple Triggerbot class that you can add to trainers, and if smart enough D3D's

Add these to the Globals
[PHP]#define PROP_VEHICLES 0x1
#define PROP_CHARACTER 0x2
#define PROP_OBJECTS 0xFF
DWORD Active;
HANDLE Control;[/PHP]

This is your Function

[PHP]
void log(char * towrite, char * filepath)
{
char * logbuf;
FILE * fp;
logbuf = ( char * )towrite;

if( (fp = fopen ( filepath , "addy")) != NULL )
{
fprintf ( fp, "%s\n", logbuf );
fclose (fp);
}[/PHP]

Put this in a Timer(trainers)

[PHP]
{//Characters
memory();
ReadProcessMemory( Control, (LPVOID*)0x8F544C, &Active, sizeof( BYTE ), NULL);
if( Active == PROP_CHARACTER)
mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );
else if ( Active != PROP_CHARACTER)
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );

}


{//Vehicles
memory();
ReadProcessMemory( Control, (LPVOID*)0x8F544C, &Active, sizeof( BYTE ), NULL);
if( Active == PROP_VEHICLES )
mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );
else if ( Active != PROP_VEHICLES )
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );
}[/PHP]

Would you mind showing us how to put this in a D3D please ? I know you can, i've seen your D3D ...


For the noobs : Yes this is C++ code you nubs!


I was going to say something else, but I forgot what XD
Quote Originally Posted by olie122333 View Post
Would you mind showing us how to put this in a D3D please ? I know you can, i've seen your D3D ...


For the noobs : Yes this is C++ code you nubs!


I was going to say something else, but I forgot what XD
Put it in EndScene
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us