Results 1 to 11 of 11
  1. #1
    cjg333's Avatar
    Join Date
    Apr 2007
    Location
    indianapolis
    Posts
    300
    Reputation
    17
    Thanks
    54

    [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]

  2. #2
    rob1cool's Avatar
    Join Date
    Apr 2007
    Gender
    male
    Location
    uk
    Posts
    170
    Reputation
    9
    Thanks
    28
    My Mood
    Asleep
    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

    What So Funny
    I See You & You See me
    I Jump In The Air &
    killl you With R.P.G
    So Hay
    R.I.P

    Don't Like Me Then
    ♠♠♠♠♠♠

    + rep Me if you want

    <<click here

  3. #3
    rambone11's Avatar
    Join Date
    Feb 2008
    Posts
    98
    Reputation
    10
    Thanks
    4
    making my own hack: think will be useful

  4. #4
    RoB07's Avatar
    Join Date
    Feb 2008
    Posts
    41
    Reputation
    10
    Thanks
    9
    give credits to k0nspire?

  5. #5
    Alen's Avatar
    Join Date
    Oct 2007
    Gender
    male
    Location
    Liquid Generator
    Posts
    27,920
    Reputation
    2548
    Thanks
    4,224
    My Mood
    Fine
    k0nspire? maybe to ***? Str8soulja is a co-coder there for the hacks lol - he knows enough about hacking so he doesnt leech...

  6. #6
    castaway's Avatar
    Join Date
    Mar 2007
    Location
    In a BIG Box.
    Posts
    1,636
    Reputation
    14
    Thanks
    97
    k0nspire is ****** from t(g).s.
    He made one too but i guess that one is different.

  7. #7
    whydoihack's Avatar
    Join Date
    Feb 2008
    Location
    Why'd you wanna know pervert!
    Posts
    112
    Reputation
    9
    Thanks
    1
    ty i will decipher that later

  8. #8
    RoB07's Avatar
    Join Date
    Feb 2008
    Posts
    41
    Reputation
    10
    Thanks
    9
    Its VERY Similar to the coding above.

  9. #9
    sponqebob's Avatar
    Join Date
    Jan 2008
    Posts
    14
    Reputation
    10
    Thanks
    1
    Is C++ is better or VB6

  10. #10
    olie122333's Avatar
    Join Date
    Oct 2007
    Gender
    male
    Posts
    438
    Reputation
    10
    Thanks
    20
    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

  11. #11
    castaway's Avatar
    Join Date
    Mar 2007
    Location
    In a BIG Box.
    Posts
    1,636
    Reputation
    14
    Thanks
    97
    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

Similar Threads

  1. [Tutorial]Simple class explanations[Stickied]
    By Ghost in forum World of Warcraft Tutorials
    Replies: 20
    Last Post: 11-06-2012, 06:07 PM
  2. [Tutorial] Soladis's Tutorial on Evan Class Tutorial
    By Soladis in forum MapleStory Tutorial & Guides
    Replies: 2
    Last Post: 08-21-2011, 06:42 PM
  3. [C#] Tutorial: Understanding Classes
    By richdude212 in forum Programming Tutorials
    Replies: 9
    Last Post: 03-21-2011, 10:06 PM
  4. [Tutorial] Helping people with: Class Perks Tips and Weapons.
    By xZaTiC in forum Call of Duty Modern Warfare 2 Discussions
    Replies: 2
    Last Post: 05-24-2010, 07:55 AM
  5. [Tutorial]Change class without respawn
    By vir2000 in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 01-04-2006, 01:47 PM

Tags for this Thread