Results 1 to 7 of 7
  1. #1
    dida_1996's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    116
    Reputation
    40
    Thanks
    6
    My Mood
    Lurking

    [request] triggerbot source code or aimbot please

    if any one here can post a triggerbot or aimbot code please

    Last edited by dida_1996; 10-02-2010 at 08:26 AM.

  2. #2
    Physcadelic's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Australia <3
    Posts
    4,450
    Reputation
    323
    Thanks
    828
    My Mood
    Breezy
    I dont think theres JUST a source code.
    I've been trying to find one for ages

    R.I.P a great GM




    Quote Originally Posted by Assalamu alaikum View Post
    what? maybe stop talk with riddles and with words i am not even know.

  3. #3
    rhainegm24's Avatar
    Join Date
    Oct 2010
    Gender
    female
    Posts
    3
    Reputation
    10
    Thanks
    0
    HELLOW KOYA Physcadelic MOSTA KANA NGAYUN ???

    ADD MO PO AKO SA YM KOYA Physcadelic ITO c_dasmarinas

  4. #4
    MiNT's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    551
    Reputation
    266
    Thanks
    2,559
    My Mood
    Psychedelic
    the easiest way to make a triggerbot

    you must know some basic C++ to do this

    1- make all the characters flat(remove texture)/use white players ..
    2- look up GetPixel on MSDN and see how the parameters work
    i think its somthing like GetPixel(hdc,512,384) // i just gave u the center of the screen
    3- give the color that the GetPixel finds to a COLORREF you have initialized
    ex : COLORREF pixel_color = GetPixel(hdc,512,384);
    4- now you need to scan if pixel_color is the color your looking for (white players)
    well i did the work for you and the white players are RGB(130,130,130)
    5- do an "if" statement so that if the two colors are the same, it wil do a mouse click
    ex: if(pixel_color == RGB(130,130,130))
    // do stuff
    6- and in this case, the stuff we want it to do is a mouse click/hold or wt ever

    this can easyly be done by :
    Code:
    void left_click()
    {  
    	INPUT    Input={0};
    	Input.type        = INPUT_MOUSE;
    	Input.mi.dwFlags  = MOUSEEVENTF_LEFTDOWN;
    	SendInput( 1, &Input, sizeof(INPUT) );
    
    	Sleep(250);
    
    	ZeroMemory(&Input,sizeof(INPUT));
    	Input.type        = INPUT_MOUSE;
    	Input.mi.dwFlags  = MOUSEEVENTF_LEFTUP;
    	SendInput( 1, &Input, sizeof(INPUT) );
    }
    or
    Code:
    void left_click()
    {
    	mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
    
    	Sleep(250);
    
    	mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
    }
    i put the sleep in the middle cuz the GetPixel API is actually preaty slow so like this it will shot 3-4 shots when ever you are on an object, and if ur with a sniper it will not interfere and will still shot 1 shot at a time.


    NOTE: if you are using a sniper with this trigger bot, you are going to have to move the point thats for the center of the screen 1 pixel to the left or up doesnt make a difference, because the red dot created with the scope zoom is actually at the points 512,384 so if you scan that pixel it will always get the color red, so try doing this 512,383 and it should work fine

    any questions just comment below
    credits me and the allmighty MSDN lol

    PRESS THANKS CUZ I KNO I HELPED YOU
    Last edited by MiNT; 10-06-2010 at 05:47 AM. Reason: fixed somthing

  5. The Following 2 Users Say Thank You to MiNT For This Useful Post:

    dida_1996 (10-06-2010),naepler (10-07-2010)

  6. #5
    Physcadelic's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Australia <3
    Posts
    4,450
    Reputation
    323
    Thanks
    828
    My Mood
    Breezy
    Quote Originally Posted by rhainegm24 View Post
    HELLOW KOYA Physcadelic MOSTA KANA NGAYUN ???


    ADD MO PO AKO SA YM KOYA Physcadelic ITO c_dasmarinas
    I don't know what the hell your talking about, sorry.

    R.I.P a great GM




    Quote Originally Posted by Assalamu alaikum View Post
    what? maybe stop talk with riddles and with words i am not even know.

  7. #6
    dida_1996's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    116
    Reputation
    40
    Thanks
    6
    My Mood
    Lurking

    Wink w8 w8 w8

    Quote Originally Posted by mahetamim View Post
    the easiest way to make a triggerbot

    you must know some basic C++ to do this

    1- make all the characters flat(remove texture)/use white players ..
    2- look up GetPixel on MSDN and see how the parameters work
    i think its somthing like GetPixel(hdc,512,384) // i just gave u the center of the screen
    3- give the color that the GetPixel finds to a COLORREF you have initialized
    ex : COLORREF pixel_color = GetPixel(hdc,512,384);
    4- now you need to scan if pixel_color is the color your looking for (white players)
    well i did the work for you and the white players are RGB(130,130,130)
    5- do an "if" statement so that if the two colors are the same, it wil do a mouse click
    ex: if(pixel_color == RGB(130,130,130))
    // do stuff
    6- and in this case, the stuff we want it to do is a mouse click/hold or wt ever

    this can easyly be done by :
    Code:
    void left_click()
    {  
    	INPUT    Input={0};
    	Input.type        = INPUT_MOUSE;
    	Input.mi.dwFlags  = MOUSEEVENTF_LEFTDOWN;
    	SendInput( 1, &Input, sizeof(INPUT) );
    
    	Sleep(250);
    
    	ZeroMemory(&Input,sizeof(INPUT));
    	Input.type        = INPUT_MOUSE;
    	Input.mi.dwFlags  = MOUSEEVENTF_LEFTUP;
    	SendInput( 1, &Input, sizeof(INPUT) );
    }
    or
    Code:
    void left_click()
    {
    	mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
    
    	Sleep(250);
    
    	mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
    }
    i put the sleep in the middle cuz the GetPixel API is actually preaty slow so like this it will shot 3-4 shots when ever you are on an object, and if ur with a sniper it will not interfere and will still shot 1 shot at a time.


    NOTE: if you are using a sniper with this trigger bot, you are going to have to move the point thats for the center of the screen 1 pixel to the left or up doesnt make a difference, because the red dot created with the scope zoom is actually at the points 512,384 so if you scan that pixel it will always get the color red, so try doing this 512,383 and it should work fine

    any questions just comment below
    credits me and the allmighty MSDN lol

    PRESS THANKS CUZ I KNO I HELPED YOU
    can u please make it for me as a source code then send it to me ? i can pm u for my e-mail


  8. #7
    MiNT's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    551
    Reputation
    266
    Thanks
    2,559
    My Mood
    Psychedelic
    Quote Originally Posted by dida_1996 View Post
    can u please make it for me as a source code then send it to me ? i can pm u for my e-mail
    i dont give out free source code plus if u cant do it from the code above then you odds are are not supposed to be trying to make hakz

Similar Threads

  1. [Request]New Source Code
    By NicoFighter in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 10-25-2010, 11:45 PM
  2. [Request] Boxes Source Code Please! Boxes or D3D!
    By gustavo5066 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 8
    Last Post: 10-01-2010, 10:18 AM
  3. [Request] A Source Code
    By IssuedGaming in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 4
    Last Post: 09-25-2010, 09:44 PM
  4. SOURCE CODE FOR AIMBOT : USE THESE CODES TO MAKE AN AIMBOT :D
    By coolsidharth in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 42
    Last Post: 06-24-2010, 03:24 AM
  5. Requesting Keygen Source Codes
    By snwspeckle in forum Programming Tutorial Requests
    Replies: 3
    Last Post: 05-18-2010, 05:55 AM